summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-10-28 22:31:34 +0200
committerMarek Olšák <[email protected]>2011-10-28 22:55:01 +0200
commitbbad5103e61806ef6d6a0d5e53abc4b9e77a7fe9 (patch)
tree79f7ac9b9404769749ff93f39423bad262cf988e /src/gallium/drivers/r600/r600_pipe.c
parent276000472abbc34d86fcb628bc3a1990e9581af3 (diff)
r600g: get backend mask after the context is fully set up
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 d0a86ded83c..00c28341835 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -281,6 +281,8 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void
return NULL;
}
+ r600_get_backend_mask(&rctx->ctx); /* this emits commands and must be last */
+
return &rctx->context;
}