Test reading compute shader builtin vars by component
authorDavid Neto <dneto@google.com>
Thu, 14 Sep 2017 22:03:37 +0000 (18:03 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 28 Sep 2017 10:16:56 +0000 (06:16 -0400)
commit6ae3c9086c8ee6dcbdc7fb61e1d2fecc04f4c98c
tree14ff2479b84401bf39d9a85d298730cadd41167e
parent19d90d70cb9d91fbd4f0ae19c28d986db2de671d
Test reading compute shader builtin vars by component

- Adds a test of reading compute shader builtin variables by component.
  These get test case name suffix of "_component".
- Previous behaviour, reading the whole builtin variable, is preserved
  in cases but without an extra suffix.
- WorkgroupSize builtin is made specializable to prevent Glslang
  from constant folding its value.

Affects:
Components: Vulkan

dEQP-VK.compute.builtin_var.*

VK-GL-CTS issue: 694

Change-Id: Ia783babf4ba5e24fc58bc9d19594bb7d921de7c9
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/compute/vktComputeShaderBuiltinVarTests.cpp
external/vulkancts/mustpass/1.0.3/vk-default.txt