summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-06-04 23:56:08 -0700
committerCorbin Simpson <[email protected]>2009-06-04 23:56:08 -0700
commit571b36831bed3c8dd5691cad5b544667d07c60b0 (patch)
treed00080a20ef3f29afc8dbb24d34ce378280dbb90 /src
parent8652ad68992a63a275bdc3816540c39776b143b2 (diff)
r300-gallium: Fix pasta.
Trivial but annoying.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index caeb73a8eda..61b416663b5 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -374,7 +374,7 @@ void r300_emit_vertex_shader(struct r300_context* r300,
if (constants->count) {
BEGIN_CS(16 + (vs->instruction_count * 4) + (constants->count * 4));
} else {
- BEGIN_CS(13 + (vs->instruction_count * 4) + (constants->count * 4));
+ BEGIN_CS(13 + (vs->instruction_count * 4));
}
OUT_CS_REG(R300_VAP_PVS_CODE_CNTL_0, R300_PVS_FIRST_INST(0) |