OSDN Git Service

r300-gallium: Fix CS count for texture emit.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 11 Mar 2009 18:54:53 +0000 (11:54 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 11 Mar 2009 22:23:09 +0000 (15:23 -0700)
src/gallium/drivers/r300/r300_emit.c

index 4ffd92c..68741e9 100644 (file)
@@ -276,7 +276,7 @@ void r300_emit_texture(struct r300_context* r300,
 {
     CS_LOCALS(r300);
 
-    BEGIN_CS(8);
+    BEGIN_CS(10);
     OUT_CS_REG(R300_TX_FORMAT0_0 + (offset * 4), tex->state.format0);
     OUT_CS_REG(R300_TX_FORMAT1_0 + (offset * 4), tex->state.format1);
     OUT_CS_REG(R300_TX_FORMAT2_0 + (offset * 4), tex->state.format2);