diff options
author | Corbin Simpson <[email protected]> | 2009-03-07 00:51:11 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-03-07 00:51:11 -0800 |
commit | 709ebabb26e20c171741338a3a9e9626ae87aa87 (patch) | |
tree | 7ed6a14e496761825f3ae6e90854950d80356e12 | |
parent | dcd7f1c0551812cf39ca6a3af9f1610ad84fb24e (diff) |
r300-gallium: Emit vertex size.
Not actually going to make a difference right now, but might as well.
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 4e82c322df1..f55093f41d6 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -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]); |