Fix verification in multisample image store tests
authorGraeme Leese <gleese@broadcom.com>
Wed, 22 Apr 2020 13:40:26 +0000 (14:40 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 29 Apr 2020 09:42:38 +0000 (05:42 -0400)
commitec25a28945a4682349beca1224a4bd2c25723395
tree388ed51866182d495d13979f2102ab6d37815a25
parent49c720ff8c7b0bc397aeae7c9ee7e3e9c40b12f3
Fix verification in multisample image store tests

The results were being verified for each sample but they were all being
stored to the same pixel in the (single-sample) result image, meaning
that only the last sample was actually checked.

Have the shader calculate the correct result for the whole pixel before
writing it out.

Component: Vulkan
VK-GL-CTS issue: 2310
Affects:
dEQP-VK.pipeline.multisample_shader_builtin.image_write_sample.*

Change-Id: Ibe1383d7922073af0661f818ebf8bfe9ab20b9fe
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleShaderBuiltInTests.cpp