diff options
author | Marek Olšák <[email protected]> | 2017-10-05 02:05:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-10-07 18:26:35 +0200 |
commit | de810f8b84b698e12458c8d793e8f10fead893a4 (patch) | |
tree | 5a06dda63ed6ed2ad07c1ce52320b60d1a888c01 /src/gallium/drivers/radeonsi/si_blit.c | |
parent | efd72b31cb31a850fd792081efe5b1e75592f7d3 (diff) |
radeonsi: remove wrappers si_decompress_xx_textures
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_blit.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_blit.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index 2e76a5c6998..4b7cca66102 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -771,7 +771,7 @@ static void si_decompress_resident_images(struct si_context *sctx) } } -static void si_decompress_textures(struct si_context *sctx, unsigned shader_mask) +void si_decompress_textures(struct si_context *sctx, unsigned shader_mask) { unsigned compressed_colortex_counter, mask; @@ -816,16 +816,6 @@ static void si_decompress_textures(struct si_context *sctx, unsigned shader_mask si_check_render_feedback(sctx); } -void si_decompress_graphics_textures(struct si_context *sctx) -{ - si_decompress_textures(sctx, u_bit_consecutive(0, SI_NUM_GRAPHICS_SHADERS)); -} - -void si_decompress_compute_textures(struct si_context *sctx) -{ - si_decompress_textures(sctx, 1 << PIPE_SHADER_COMPUTE); -} - static void si_clear(struct pipe_context *ctx, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) |