From: Corbin Simpson Date: Fri, 5 Jun 2009 06:56:08 +0000 (-0700) Subject: r300-gallium: Fix pasta. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=571b36831bed3c8dd5691cad5b544667d07c60b0;p=mesa.git r300-gallium: Fix pasta. Trivial but annoying. --- 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) |