Add shaderStorageImage{Read|Write}WithoutFormat tests
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 1 Mar 2017 11:09:54 +0000 (12:09 +0100)
committerPyry Haulos <phaulos@google.com>
Fri, 17 Mar 2017 15:40:19 +0000 (11:40 -0400)
commit645b5c6de148237b3eed0a95f2e4644033e2bad4
tree50401abcd84d447564f882e93eab520c1eda76de
parent8e6e8fd31fe4c4f162db07c632da345c0e17cc7d
Add shaderStorageImage{Read|Write}WithoutFormat tests

This adds new store tests that remove the format layout qualifier
from the writeonly image and new load_store tests that remove
the format layout qualifier from the readonly image.

Since we don't have access to the physical device properties
during shader program compilation, we follow the same approach
of other tests and write two variants of the shader, one that
declares the format qualifier and one that doesn't. We use a
test flag to track if a specific test case is intended to check
behavior with or without image format layout qualifiers declared,
and use that to decide the shader variant to use at run-time.

The original tests now live under
dEQP-VK.image.{load_}store.with_format.* and the new tests
are added under dEQP-VK.image.{load_}store.without_format.*

Components: Vulkan
VK-GL-CTS issue: 164

New tests:
dEQP-VK.image.store.without_format.*
dEQP-VK.image.load_store.without_format.*

Change-Id: I15d7b7e8dafd4e229ff23f61700580b60cb29cb0
android/cts/master/vk-master.txt
android/cts/nyc/src/vk-master.txt
android/cts/nyc/vk-master.txt
external/vulkancts/modules/vulkan/image/vktImageLoadStoreTests.cpp
external/vulkancts/mustpass/1.0.0/src/master.txt
external/vulkancts/mustpass/1.0.0/vk-default.txt
external/vulkancts/mustpass/1.0.1/src/master.txt
external/vulkancts/mustpass/1.0.1/vk-default.txt
external/vulkancts/mustpass/1.0.2/src/master.txt
external/vulkancts/mustpass/1.0.2/vk-default.txt
external/vulkancts/mustpass/1.0.3/vk-default.txt