From: Marek Olšák Date: Sun, 20 Apr 2014 01:39:23 +0000 (+0200) Subject: r300g: fix runtime warning after winsys cleanup X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba4f6a5fc93b80d23f8a355c219020e2022439f8;p=mesa.git r300g: fix runtime warning after winsys cleanup Broken by: b2238b3452b0bcf3c1216c20c9918f9f0664b464 winsys/radeon: remove cs_write_reloc, add simpler cs_get_reloc --- diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h index 748d6eacc9e..37f9641ab3e 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)