summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_cs.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-02-06 01:59:26 -0800
committerCorbin Simpson <[email protected]>2009-02-06 01:59:26 -0800
commit2e70971e4f1ac5278e9da67341e8c39518308d20 (patch)
treead010bd4da3bb94043ac7dec795161979828c6b9 /src/gallium/drivers/r300/r300_cs.h
parent402d45d99b4533140aa706300da3154af2f376f0 (diff)
r300: Clean up CS counting.
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs.h')
-rw-r--r--src/gallium/drivers/r300/r300_cs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h
index 734ccb13d9d..385b61a096c 100644
--- a/src/gallium/drivers/r300/r300_cs.h
+++ b/src/gallium/drivers/r300/r300_cs.h
@@ -107,6 +107,7 @@ static uint32_t pack_float_32(float f)
assert(bo); \
OUT_CS(offset); \
cs_winsys->write_cs_reloc(cs, bo, rd, wd, flags); \
+ cs_count -= 2; \
} while (0)
#define END_CS do { \