diff options
author | Marek Olšák <[email protected]> | 2018-04-01 14:13:22 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | e04389cc2ad403388f591d31234cae798408e897 (patch) | |
tree | 989ecc40c21611cfea393bf0b59b711be393cc0c /src/gallium/drivers/radeon | |
parent | 9d7f809c03dc8a7ef564ad535bc3f4255b51e95c (diff) |
radeonsi: remove r600_pipe_common::decompress_dcc
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 3 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index 288562bfdf3..f0a7630fb38 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -492,9 +492,6 @@ struct r600_common_context { unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned first_sample, unsigned last_sample); - - void (*decompress_dcc)(struct pipe_context *ctx, - struct r600_texture *rtex); }; /* r600_buffer_common.c */ diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index b16777f3926..86955561e24 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -480,7 +480,7 @@ bool si_texture_disable_dcc(struct r600_common_context *rctx, mtx_lock(&sscreen->aux_context_lock); /* Decompress DCC. */ - rctx->decompress_dcc(&rctx->b, rtex); + si_decompress_dcc(&rctx->b, rtex); rctx->b.flush(&rctx->b, NULL, 0); if (&rctx->b == sscreen->aux_context) @@ -1974,7 +1974,7 @@ void vi_disable_dcc_if_incompatible_format(struct r600_common_context *rctx, if (vi_dcc_formats_are_incompatible(tex, level, view_format)) if (!si_texture_disable_dcc(rctx, (struct r600_texture*)tex)) - rctx->decompress_dcc(&rctx->b, rtex); + si_decompress_dcc(&rctx->b, rtex); } struct pipe_surface *si_create_surface_custom(struct pipe_context *pipe, |