diff options
author | Dave Airlie <airlied@redhat.com> | 2016-11-10 10:32:08 +1000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-11-23 14:01:43 +0000 |
commit | 6520a64c4dadf03e2991a997c2399e3cc181b5c2 (patch) | |
tree | a5614d511d137783c7f11858244b8e4da4cf9608 /src/vulkan | |
parent | 953030bbb3635605b1ce8e5369ab6722b8602543 (diff) | |
download | external_mesa3d-6520a64c4dadf03e2991a997c2399e3cc181b5c2.zip external_mesa3d-6520a64c4dadf03e2991a997c2399e3cc181b5c2.tar.gz external_mesa3d-6520a64c4dadf03e2991a997c2399e3cc181b5c2.tar.bz2 |
radv: fix texturesamples to handle single sample case
We can only read the valid samples if this is an MSAA
texture, which means the type field must be 0x14 or 0x15.
This fixes:
dEQP-VK.glsl.texture_functions.query.texturesamples.*
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 2de85eb97ab2ef45ec23f694a566cd0ec8192885)
Diffstat (limited to 'src/vulkan')
0 files changed, 0 insertions, 0 deletions