From b05b8587ae6711a8790d4a4f5956995577184e00 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 24 Mar 2017 12:31:34 +0100 Subject: radeonsi: remove a workaround for inexact *8_SNORM blits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All tests pass on Fiji now. This prevents DCC disablement due to incompatible DCC formats due to the fallback. Reviewed-by: Nicolai Hähnle Tested-by: Edmondo Tommasina --- src/gallium/drivers/radeonsi/si_blit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gallium/drivers/radeonsi/si_blit.c') diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index a94804d6c25..cb0b2d35822 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -899,9 +899,7 @@ void si_resource_copy_region(struct pipe_context *ctx, src_box = &sbox; src_force_level = src_level; - } else if (!util_blitter_is_copy_supported(sctx->blitter, dst, src) || - /* also *8_SNORM has precision issues, use UNORM instead */ - util_format_is_snorm8(src->format)) { + } else if (!util_blitter_is_copy_supported(sctx->blitter, dst, src)) { if (util_format_is_subsampled_422(src->format)) { src_templ.format = PIPE_FORMAT_R8G8B8A8_UINT; dst_templ.format = PIPE_FORMAT_R8G8B8A8_UINT; -- cgit v1.2.3