Test interaction of image_view_min_lod, robustness2 and gather
authorRicardo Garcia <rgarcia@igalia.com>
Mon, 1 Aug 2022 12:25:11 +0000 (14:25 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 12 Aug 2022 17:03:52 +0000 (17:03 +0000)
commitef39fa6a915de88500e03a0d6efa1149d338f9fd
tree59d796fe58b61da901e8217eb3ff717a41694b13
parent7e86451fd48afa934bda7f8182b1f54a594b9118
Test interaction of image_view_min_lod, robustness2 and gather

This commits adds a new set of tests that verify texture gather
operations interact correctly with robustness2 and image_view_min_lod.
Specifically, texture gathering always retrieves pixel values from the
base level, and image_view_min_lod may not make that level available on
the sampled texture. With robustness2, reading from those texels should
result in zeros.

New tests:
dEQP-VK.texture.mipmap.min_lod_gather.*

Components: Vulkan
VK-GL-CTS issue: 3808

Change-Id: Id6e5fe445e45e75bb419bebe0da59ea22cf452d9
android/cts/main/vk-master-2022-03-01/texture.txt
android/cts/main/vk-master/texture.txt
external/vulkancts/modules/vulkan/texture/vktTextureMipmapTests.cpp
external/vulkancts/mustpass/main/vk-default/texture.txt