r300-gallium: Fix pasta.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 5 Jun 2009 06:56:08 +0000 (23:56 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 5 Jun 2009 06:56:08 +0000 (23:56 -0700)
Trivial but annoying.

src/gallium/drivers/r300/r300_emit.c

index caeb73a8eda3f58f1c7803f4d8efefa2e15b39c6..61b416663b598a46a5b5d17e2370f1e3d9b400df 100644 (file)
@@ -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) |