aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_descriptors.c
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/radeonsi/si_descriptors.c
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/radeonsi/si_descriptors.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c
index a8c6e2d38f2..d97fcb1d93b 100644
--- a/src/gallium/drivers/radeonsi/si_descriptors.c
+++ b/src/gallium/drivers/radeonsi/si_descriptors.c
@@ -443,7 +443,7 @@ static void si_set_sampler_view_desc(struct si_context *sctx,
if (unlikely(!is_buffer && sview->dcc_incompatible)) {
if (vi_dcc_enabled(rtex, view->u.tex.first_level))
if (!si_texture_disable_dcc(sctx, rtex))
- si_decompress_dcc(&sctx->b.b, rtex);
+ si_decompress_dcc(sctx, rtex);
sview->dcc_incompatible = false;
}
@@ -731,7 +731,7 @@ static void si_set_shader_image_desc(struct si_context *ctx,
* has been decompressed already.
*/
if (!si_texture_disable_dcc(ctx, tex))
- si_decompress_dcc(&ctx->b.b, tex);
+ si_decompress_dcc(ctx, tex);
}
if (ctx->b.chip_class >= GFX9) {