Module: Mesa Branch: master Commit: cbbc18bc678a826508ed0b904ab485c44b7348c8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbbc18bc678a826508ed0b904ab485c44b7348c8
Author: Marek Olšák <[email protected]> Date: Thu May 7 13:46:41 2020 -0400 radeonsi: use display_dcc_offset for setting displayable_dcc_cb_mask Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4935> --- src/gallium/drivers/radeonsi/si_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 8e162fe87c6..9ae618c0970 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2830,7 +2830,7 @@ static void si_set_framebuffer_state(struct pipe_context *ctx, else sctx->framebuffer.uncompressed_cb_mask |= 1 << i; - if (tex->surface.dcc_offset) + if (tex->surface.display_dcc_offset) sctx->framebuffer.displayable_dcc_cb_mask |= 1 << i; /* Don't update nr_color_samples for non-AA buffers. _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
