Add CTS_ARB_spirv_extensions test specification proposal
authorAdam Czupryna <adam.czupryna@mobica.com>
Wed, 14 Jun 2017 09:03:42 +0000 (11:03 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 7 Aug 2017 12:16:46 +0000 (08:16 -0400)
This is CTS_ARB_spirv_extensions specification proposal.

Components: OpenGL

VK-GL-CTS issue: 501

Change-Id: Ic7cbfc6e4a6a98c6e1f62ba5d370a2d4767ec4f2

external/openglcts/docs/specs/CTS_ARB_spirv_extensions.txt [new file with mode: 0644]

diff --git a/external/openglcts/docs/specs/CTS_ARB_spirv_extensions.txt b/external/openglcts/docs/specs/CTS_ARB_spirv_extensions.txt
new file mode 100644 (file)
index 0000000..2b94144
--- /dev/null
@@ -0,0 +1,60 @@
+Conformance Test
+
+    CTS_ARB_spirv_extensions
+
+Contributors
+
+    Adam Czupryna, Mobica
+
+Contacts
+
+    Adam Czupryna, Mobica (adam.czupryna 'at' mobica.com)
+
+Status
+
+    In review
+
+Version
+
+    June 12, 2017 (version 1)
+
+Dependencies
+
+    OpenGL 4.5 is required.
+
+    ARB_spirv_extensions extension is required.
+
+    ARB_gl_spirv extension is required.
+
+    This specification is written against:
+      - ARB_spirv_extensions specification draft,
+      - OpenGL 4.5 specification.
+
+Overview
+
+    This test verifies if mechanism for an implementation to advertise which
+    SPIR-V extensions it supports works as expected.
+
+New Tests
+
+    New State Queries Test
+
+      * Test GetIntegerv query for <pname>:
+
+          - NUM_SPIR_V_EXTENSIONS
+
+        Check if no error is generated.
+
+      * Test GetStringi query for <pname>:
+
+          - SPIR_V_EXTENSIONS
+
+        Check if no empty strings are returned and no error is generated.
+        Check if INVALID_VALUE error is generated if <index> for GetStringi
+          function is outside a valid range.
+
+Revision History
+
+    Revision 1, 12 June, 2017 (Adam Czupryna)
+      - Intial version;
+