summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-02-27 23:12:46 +0100
committerMarek Olšák <[email protected]>2010-02-28 00:46:35 +0100
commit4ed97f0a73db37f6105b6282d92646c3f66c2645 (patch)
tree78df9e03c1a6b37f00ca5878a597ae336c342b63 /src/gallium/drivers/r300/r300_state.c
parent279715e76e5385afaad2834191e8578cf3a5d233 (diff)
r300g: use the atom size directly during emission
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 15e0a0ad358..97a0897a5e2 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -1111,7 +1111,7 @@ static void r300_bind_vs_state(struct pipe_context* pipe, void* shader)
}
r300->vs_state.state = vs;
- r300->vs_state.size = vs->code.length + 11;
+ r300->vs_state.size = vs->code.length + 9;
r300->vs_state.dirty = TRUE;
r300->vertex_format_state.dirty = TRUE;