diff options
author | Corbin Simpson <[email protected]> | 2010-04-26 00:08:46 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-04-26 00:24:26 -0700 |
commit | c53142c3f46735f91b2f11308d08fa7e17edbf91 (patch) | |
tree | e36460c208292d955e8026c25bcd48f63081122e /src/gallium/drivers/r300/r300_cs.h | |
parent | 2d1b95477fbf91d90c65f8907dce0556b06db6f0 (diff) |
r300g: Add CS table writing.
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_cs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h index 456b2ec7b92..96f2825b6d6 100644 --- a/src/gallium/drivers/r300/r300_cs.h +++ b/src/gallium/drivers/r300/r300_cs.h @@ -104,6 +104,13 @@ cs_count--; \ } while (0) +#define OUT_CS_TABLE(values, count) do { \ + if (VERY_VERBOSE_REGISTERS) \ + DBG(cs_context_copy, DBG_CS, "r300: writing table of %d dwords\n", count); \ + cs_winsys->write_cs_table(cs_winsys, values, count); \ + cs_count -= count; \ +} while (0) + #define OUT_CS_BUF_RELOC(bo, offset, rd, wd, flags) do { \ DBG(cs_context_copy, DBG_CS, "r300: writing relocation for buffer %p, offset %d, " \ "domains (%d, %d, %d)\n", \ |