summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_invariant.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-02-27 21:54:16 +0100
committerMarek Olšák <maraeo@gmail.com>2010-02-28 00:46:35 +0100
commit841122d0e8025290ff2691e13ade1099d2c3351c (patch)
tree386927d686fdbff4d8921b0479b2ff0aa66c26c4 /src/gallium/drivers/r300/r300_state_invariant.c
parent14771ba7e492aef115a2827ac403499d074f9d0d (diff)
r300g: add size parameter to the atom emit functions
Maintaining a closer relationship between the atom size and what's passed in BEGIN_CS.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_invariant.c')
-rw-r--r--src/gallium/drivers/r300/r300_state_invariant.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_invariant.c b/src/gallium/drivers/r300/r300_state_invariant.c
index 97927acf1b..4a2c68269b 100644
--- a/src/gallium/drivers/r300/r300_state_invariant.c
+++ b/src/gallium/drivers/r300/r300_state_invariant.c
@@ -38,7 +38,8 @@ struct pipe_viewport_state r300_viewport_identity = {
*
* Note that eventually this should be empty, but it's useful for development
* and general unduplication of code. */
-void r300_emit_invariant_state(struct r300_context* r300, void* state)
+void r300_emit_invariant_state(struct r300_context* r300,
+ unsigned size, void* state)
{
struct r300_capabilities* caps = r300_screen(r300->context.screen)->caps;
CS_LOCALS(r300);