summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-09-10 00:28:46 +0200
committerMarek Olšák <[email protected]>2012-09-13 20:18:44 +0200
commitf96df32d62a9d95940ef576933ba21d05600332b (patch)
tree05bcf1ca494342ad450de3299c2a203866212b45 /src/gallium/drivers/r600/r600_pipe.c
parentfd2e34d557c07fba5a6e344e915f73dcfb66d0b4 (diff)
r600g: consolidate initialization of common state functions
Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index d0dd4d54aa6..048b8013192 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -237,11 +237,13 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void
r600_init_query_functions(rctx);
r600_init_context_resource_functions(rctx);
r600_init_surface_functions(rctx);
- rctx->context.draw_vbo = r600_draw_vbo;
+
rctx->context.create_video_decoder = vl_create_decoder;
rctx->context.create_video_buffer = vl_video_buffer_create;
+ r600_init_common_state_functions(rctx);
+
switch (rctx->chip_class) {
case R600:
case R700: