radv: Disable texel buffers with A2 SNORM/SSCALED/SINT for pre-vega.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 12 May 2018 21:56:56 +0000 (23:56 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 14 May 2018 16:58:30 +0000 (18:58 +0200)
commitf944a59996287de85d4c6d9b7b000d25f41b1d79
treebb22fdef6fd3e6c34560293855db3ed06bf8e812
parent3d4d388e3929d7948b62d90867357aecbfba5aeb
radv: Disable texel buffers with A2 SNORM/SSCALED/SINT for pre-vega.

The hardware always interprets the alpha as unsigned and fixing it
in the shader is going to add unacceptable overheads.

CC: 18.0 18.1 <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106480
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_formats.c