radv: fix identity swizzle handling
authorDave Airlie <airlied@redhat.com>
Tue, 11 Oct 2016 06:46:25 +0000 (16:46 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Oct 2016 18:45:57 +0000 (04:45 +1000)
commit060e6f468a35bcf3fbc425b489ef1f39be808e81
treecb88e2e060883f65a12b81390fd490ed2c6adce5
parent8980ac041167fb5a80be76e2f912b96117afa2cf
radv: fix identity swizzle handling

The identity swizzle should operate exactly
like an .r = R, .g = G, .b = B, .a = A swizzle.

This fixes a bunch of the 16-bit BGRA blit tests
dEQP-VK.api.copy_and_blit.blit_image.all_formats.b4g4r4a4*

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/vk_format.h