summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-11-24 03:10:52 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2016-11-28 12:56:17 +0000
commit960a87fb174290f36ce0434a631b879d01397589 (patch)
tree30f6548b608df71fc8f3142012eb075f7b4528d4 /src/amd/vulkan/radv_device.c
parentaa939d7d2a16ea3ea2da785859b96bfacf9d62d9 (diff)
downloadexternal_mesa3d-960a87fb174290f36ce0434a631b879d01397589.zip
external_mesa3d-960a87fb174290f36ce0434a631b879d01397589.tar.gz
external_mesa3d-960a87fb174290f36ce0434a631b879d01397589.tar.bz2
radv: fix texel fetch offset with 2d arrays.
The code didn't limit the offsets to the number supplied, so if we expected 3 but only got 2 we were accessing undefined memory. This fixes random failures in: dEQP-VK.glsl.texture_functions.texelfetchoffset.sampler2darray_* Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Cc: "13.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit bb8ac183404541ca8dee31563709d5aca8de0e73)
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
0 files changed, 0 insertions, 0 deletions