turnip: Always use UINT formats for copies.
authorBas Nieuwenhuizen <basni@chromium.org>
Fri, 20 Sep 2019 11:49:44 +0000 (13:49 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 27 Sep 2019 13:05:21 +0000 (15:05 +0200)
commit9e822957cd2c5d92b2b57c663aa153976119197d
tree8e2850e07ebc3661b7d1783d22de1fb289339726
parentb48fe29e3c31b1f6d1d9f2ce81741095b2de824d
turnip: Always use UINT formats for copies.

Looks like r16_unorm might have precision issues.

dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.r16_unorm.r16_unorm.general_general

fails, but the dumped images in the xml are the same so
I'd guess the low bits are the issue.

r8_unorm and r16_uint work.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/vulkan/tu_meta_copy.c