Mesa (master): r300-gallium: Fix pasta.

Corbin Simpson csimpson at kemper.freedesktop.org
Thu Jun 4 23:58:57 PDT 2009


Module: Mesa
Branch: master
Commit: 571b36831bed3c8dd5691cad5b544667d07c60b0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=571b36831bed3c8dd5691cad5b544667d07c60b0

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Thu Jun  4 23:56:08 2009 -0700

r300-gallium: Fix pasta.

Trivial but annoying.

---

 src/gallium/drivers/r300/r300_emit.c |    2 +-
 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 caeb73a..61b4166 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) |



More information about the mesa-commit mailing list