summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 15:37:11 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commit0b2f2a6a18c5422a2551009a228c57f382b4d66f (patch)
tree7d4c7c4e101ceded61b6fd76a2e279cdfc5d13f9 /src/gallium/drivers/radeonsi/si_pipe.c
parent4c5efc40f4980eb0faa7c0ad73413c51c43c1911 (diff)
radeonsi: use r600_common_context less pt6
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 814ca93ac2a..d8e4be79256 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -160,7 +160,7 @@ static void si_destroy_context(struct pipe_context *context)
if (sctx->blitter)
util_blitter_destroy(sctx->blitter);
- si_common_context_cleanup(&sctx->b);
+ si_common_context_cleanup(sctx);
LLVMDisposeTargetMachine(sctx->tm);
@@ -264,7 +264,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
sctx->screen = sscreen; /* Easy accessing of screen/winsys. */
sctx->is_debug = (flags & PIPE_CONTEXT_DEBUG) != 0;
- if (!si_common_context_init(&sctx->b, sscreen, flags))
+ if (!si_common_context_init(sctx, sscreen, flags))
goto fail;
if (sscreen->info.drm_major == 3)