Add Shader Binary Multiple Shader Objects test case proposal
authorAdam Czupryna <adam.czupryna@mobica.com>
Wed, 4 Oct 2017 12:44:03 +0000 (14:44 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 13 Oct 2017 14:59:29 +0000 (10:59 -0400)
This is Shader Binary Multiple Shader Objects test case proposal to
CTS_ARB_gl_spirv specification.

Components: OpenGL

VK-GL-CTS issue: 554

Change-Id: I05817ca5e8daf5f1e08a849a67de3784376f317a

external/openglcts/docs/specs/CTS_ARB_gl_spirv.txt

index d2b37fe..b5dfe64 100644 (file)
@@ -62,6 +62,17 @@ Tests
           Perform drawing and verify the result. Expect the same result as for
           previous case.
 
+      * Shader Binary Multiple Shader Objects
+
+        - Create GLSL shader for at least two shading stages. Use glslang to compile
+          GLSL shaders to single SPIR-V module. Create shader object for each stage and
+          perform ShaderBinary function passing shader set as an argument, use
+          SHADER_BINARY_FORMAT_SPIR_V_ARB binary format. Specialize shader objects
+          using SpecializeShader function with proper entry point argument for each
+          shader.
+
+          Perform drawing and verify if the result is as expected.
+
       * State Queries
 
         - Verify if GetShaderiv with <pname> set to SPIR_V_BINARY_ARB used on valid