summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 14:15:34 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commit85e75b2da5c4ef2ca02417024b154cc24d153a13 (patch)
tree9740096e1785a88633005f571b6d949e2938dc63 /src/gallium/drivers/radeonsi/si_blit.c
parente04389cc2ad403388f591d31234cae798408e897 (diff)
radeonsi: remove r600_pipe_common::blit_decompress_depth
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.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c
index 27221714a40..8932b9c7397 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
+++ b/src/gallium/drivers/radeonsi/si_blit.c
@@ -168,12 +168,12 @@ si_blit_dbcb_copy(struct si_context *sctx,
return fully_copied_levels;
}
-static void si_blit_decompress_depth(struct pipe_context *ctx,
- struct r600_texture *texture,
- struct r600_texture *staging,
- unsigned first_level, unsigned last_level,
- unsigned first_layer, unsigned last_layer,
- unsigned first_sample, unsigned last_sample)
+void si_blit_decompress_depth(struct pipe_context *ctx,
+ struct r600_texture *texture,
+ struct r600_texture *staging,
+ unsigned first_level, unsigned last_level,
+ unsigned first_layer, unsigned last_layer,
+ unsigned first_sample, unsigned last_sample)
{
const struct util_format_description *desc;
unsigned planes = 0;
@@ -1341,5 +1341,4 @@ void si_init_blit_functions(struct si_context *sctx)
sctx->b.b.blit = si_blit;
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;
}