summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-10-03 16:39:50 +0200
committerMarek Olšák <[email protected]>2013-10-03 18:30:49 +0200
commitb893bbf438e1924d5f47370b29421642e79b0221 (patch)
treed1a641d7ef1c0d472bafc62851ee8df122ce302b /src/gallium/drivers/radeonsi
parent52bfe8e0f6bba28606502e538a4ba48247b7b4f6 (diff)
r600g,radeonsi: create aux_context last
This fixes a regression caused by 68f6dec32ed5eede361f76c8dbdf897652659baf.
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
index a9292709e51..c3250e4fcb9 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
@@ -819,5 +819,8 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws)
}
#endif
+ /* Create the auxiliary context. This must be done last. */
+ rscreen->b.aux_context = rscreen->b.b.context_create(&rscreen->b.b, NULL);
+
return &rscreen->b.b;
}