Add feature requirements to existing amber files
authorChris Forbes <chrisforbes@google.com>
Wed, 25 Sep 2019 23:51:40 +0000 (16:51 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 10 Oct 2019 09:30:53 +0000 (05:30 -0400)
Updates the amber files themselves to mirror the constraints enforced on the C++ side.

Components: Vulkan
Change-Id: I698a39732b02cb99fe1aeb369f1054ac9a769bfb
VK-GL-CTS: 1965

external/vulkancts/data/vulkan/amber/provoking_vertex/line_list_with_adjacency.amber
external/vulkancts/data/vulkan/amber/provoking_vertex/line_strip_with_adjacency.amber
external/vulkancts/data/vulkan/amber/provoking_vertex/triangle_list_with_adjacency.amber
external/vulkancts/data/vulkan/amber/provoking_vertex/triangle_strip_with_adjacency.amber
external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/ptr_access_chain/workgroup.amber
external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/ptr_access_chain/workgroup_bad_stride.amber
external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/ptr_access_chain/workgroup_no_stride.amber

index 3b64b81..6ad30e2 100644 (file)
@@ -12,6 +12,8 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+[require]
+geometryShader
 
 [vertex shader]
 #version 430
index 19f5fa0..66940d1 100644 (file)
@@ -12,6 +12,8 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+[require]
+geometryShader
 
 [vertex shader]
 #version 430
index fa9fe7f..dde2c28 100644 (file)
@@ -12,6 +12,8 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+[require]
+geometryShader
 
 [vertex shader]
 #version 430
index a8505a5..a19c0f6 100644 (file)
@@ -12,6 +12,8 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+[require]
+geometryShader
 
 [vertex shader]
 #version 430
index 8e24657..3b0afc0 100644 (file)
@@ -21,6 +21,9 @@
 # Compiled with `clspv -no-inline-single -cl-opt-disable <X.clc>` with a (correct) ArrayStride decoration
 # added. This is allowed but not needed so provides a baseline for comparison.
 
+[require]
+VariablePointerFeatures.variablePointers
+
 [compute shader spirv]
                OpCapability Shader
                OpCapability VariablePointers
index 5a2cd69..1169333 100644 (file)
@@ -20,6 +20,8 @@
 #
 # Compiled with `clspv -no-inline-single -cl-opt-disable <X.clc>` with an incorrect ArrayStride decoration
 # added. This decoration should be ignored, so it should give the same results as ArrayStride == 4.
+[require]
+VariablePointerFeatures.variablePointers
 
 [compute shader spirv]
                OpCapability Shader