summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-01-30 01:23:14 +0100
committerMarek Olšák <[email protected]>2012-01-31 23:12:30 +0100
commit2fe521fa419ee153afb6295289dc5e95d3229858 (patch)
treeca48e074d01cde425d4bb289a974960977016d95 /src/gallium/drivers/r600/r600_pipe.c
parent621e0db71c5ddcb379171064a4f720c9cf01e888 (diff)
r600g: add a new simple API for state emission
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index bd68eff8f73..b92762526cd 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -282,6 +282,8 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void
return NULL;
}
+ LIST_INITHEAD(&rctx->dirty_states);
+
r600_get_backend_mask(rctx); /* this emits commands and must be last */
return &rctx->context;