summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 17:08:35 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commit50c7aa67565fee2c103ed6229ac599e8d23839d8 (patch)
treebc88c0247f54eeeaaf8c960aee22734cc1710ff0 /src/gallium/drivers/radeon
parente332ba61f40bc77d3104bd060bc7d1b18edd7e95 (diff)
radeonsi: use si_context instead of pipe_context in parameters pt3
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index 7b1dbb824bb..ce193ab518b 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -482,7 +482,7 @@ bool si_texture_disable_dcc(struct si_context *sctx,
mtx_lock(&sscreen->aux_context_lock);
/* Decompress DCC. */
- si_decompress_dcc(&sctx->b.b, rtex);
+ si_decompress_dcc(sctx, rtex);
sctx->b.b.flush(&sctx->b.b, NULL, 0);
if (&sctx->b.b == sscreen->aux_context)
@@ -1976,7 +1976,7 @@ void vi_disable_dcc_if_incompatible_format(struct si_context *sctx,
if (vi_dcc_formats_are_incompatible(tex, level, view_format))
if (!si_texture_disable_dcc(sctx, (struct r600_texture*)tex))
- si_decompress_dcc(&sctx->b.b, rtex);
+ si_decompress_dcc(sctx, rtex);
}
struct pipe_surface *si_create_surface_custom(struct pipe_context *pipe,