aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 14:13:22 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commite04389cc2ad403388f591d31234cae798408e897 (patch)
tree989ecc40c21611cfea393bf0b59b711be393cc0c /src/gallium/drivers/radeonsi/si_blit.c
parent9d7f809c03dc8a7ef564ad535bc3f4255b51e95c (diff)
radeonsi: remove r600_pipe_common::decompress_dcc
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_blit.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_blit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c
index 22916b6c73b..27221714a40 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
+++ b/src/gallium/drivers/radeonsi/si_blit.c
@@ -1325,8 +1325,7 @@ static void si_flush_resource(struct pipe_context *ctx,
}
}
-static void si_decompress_dcc(struct pipe_context *ctx,
- struct r600_texture *rtex)
+void si_decompress_dcc(struct pipe_context *ctx, struct r600_texture *rtex)
{
if (!rtex->dcc_offset)
return;
@@ -1343,5 +1342,4 @@ void si_init_blit_functions(struct si_context *sctx)
sctx->b.b.flush_resource = si_flush_resource;
sctx->b.b.generate_mipmap = si_generate_mipmap;
sctx->b.blit_decompress_depth = si_blit_decompress_depth;
- sctx->b.decompress_dcc = si_decompress_dcc;
}