[Mesa-dev] [PATCH 02/13] r300g: fix runtime warning after winsys cleanup

Marek Olšák maraeo at gmail.com
Sun Apr 20 18:59:23 PDT 2014


From: Marek Olšák <marek.olsak at amd.com>

Broken by:
  b2238b3452b0bcf3c1216c20c9918f9f0664b464
  winsys/radeon: remove cs_write_reloc, add simpler cs_get_reloc
---
 src/gallium/drivers/r300/r300_cs.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h
index 748d6ea..37f9641 100644
--- a/src/gallium/drivers/r300/r300_cs.h
+++ b/src/gallium/drivers/r300/r300_cs.h
@@ -111,7 +111,6 @@
     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)
 
 
-- 
1.8.3.2



More information about the mesa-dev mailing list