Improve verification in sampled image tests
authorToni Merilehti <toni.merilehti@siru.fi>
Thu, 25 Jul 2019 10:46:52 +0000 (13:46 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 29 Aug 2019 12:04:33 +0000 (08:04 -0400)
commit2d565d883015e1fe390dfe1cd5b6a996e4e422fa
tree94bb45d254a440b9b103e22b5532a44f2fa9a29f
parent59490e09badb3f65d7dc84e4a2bc5cbb876d43f7
Improve verification in sampled image tests

Currently the tests use texelFetch (OpImageFetch) to get sample colors
per texel from a multisampled image and verifies that the color is
either the clear color or the primitive color used. This CL makes
the verification more strict by requiring that at least some texels
have samples of both colors as the image used is multisampled.

Affects:

dEQP-VK.pipeline.multisample.sampled_image.*

Components: Vulkan

VK-GL-CTS issue: 1797

Change-Id: I266538cad5f655ad96eb7221fbdd601b8b055ae8
(cherry picked from commit e0cd1b0113c54ae4e48d8633f29149a4c12cbffe)
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleImageTests.cpp