r300-gallium: Emit vertex size.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 7 Mar 2009 08:51:11 +0000 (00:51 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 7 Mar 2009 08:51:11 +0000 (00:51 -0800)
Not actually going to make a difference right now, but might as well.

src/gallium/drivers/r300/r300_emit.c

index 4e82c322df1a074bc3f53bd1f72479755d507d4b..f55093f41d69ddbb1fcc76d14a177cba4fd71ec3 100644 (file)
@@ -265,7 +265,9 @@ void r300_emit_vertex_format_state(struct r300_context* r300)
     CS_LOCALS(r300);
     int i;
 
-    BEGIN_CS(24);
+    BEGIN_CS(26);
+    OUT_CS_REG(R300_VAP_VTX_SIZE, r300->vertex_info.vinfo.size);
+
     OUT_CS_REG_SEQ(R300_VAP_VTX_STATE_CNTL, 2);
     OUT_CS(r300->vertex_info.vinfo.hwfmt[0]);
     OUT_CS(r300->vertex_info.vinfo.hwfmt[1]);