diff options
author | Marek Olšák <[email protected]> | 2017-03-24 12:31:34 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 16:09:39 +0200 |
commit | b05b8587ae6711a8790d4a4f5956995577184e00 (patch) | |
tree | 55d8c0686a16a1edde543f2b5c957aca9ea669ee | |
parent | a955ee788f2757c346fef5950cae8eefd311880f (diff) |
radeonsi: remove a workaround for inexact *8_SNORM blits
All tests pass on Fiji now. This prevents DCC disablement due to
incompatible DCC formats due to the fallback.
Reviewed-by: Nicolai Hähnle <[email protected]>
Tested-by: Edmondo Tommasina <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_blit.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |