radv: Don't use SRGB format for image stores during resolve.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 5 Aug 2017 23:47:09 +0000 (01:47 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 6 Aug 2017 14:06:50 +0000 (16:06 +0200)
commit8286c3a49f03dc219e57d4a9ec27a4d840c5f603
tree20e0f0a599ccaf269baa0dfe08f172acc82c82ce
parent75fd4d8fd3ce389e82d2c449e2cc23855dbcf366
radv: Don't use SRGB format for image stores during resolve.

These seem to store very bogus results. Luckily there is some code
that converts srgb->linear already, so just making the descriptor
format UNORM should work.

Fixes: 588185eb6b7 "radv/meta: add srgb conversion to end of resolve shader."
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_resolve_cs.c
src/amd/vulkan/vk_format.h