r300g: fix runtime warning after winsys cleanup
authorMarek Olšák <marek.olsak@amd.com>
Sun, 20 Apr 2014 01:39:23 +0000 (03:39 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 24 Apr 2014 23:33:12 +0000 (01:33 +0200)
Broken by:
  b2238b3452b0bcf3c1216c20c9918f9f0664b464
  winsys/radeon: remove cs_write_reloc, add simpler cs_get_reloc

src/gallium/drivers/r300/r300_cs.h

index 748d6eacc9e4dc0e9ed9698afb4374a79fa20616..37f9641ab3e0e3a3fc348210b4fd565f2ffb43c4 100644 (file)
     assert((r)->cs_buf); \
     OUT_CS(0xc0001000); /* PKT3_NOP */ \
     OUT_CS(cs_winsys->cs_get_reloc(cs_copy, (r)->cs_buf) * 4); \
-    CS_USED_DW(2); \
 } while (0)