Interface mismatch in KHR-GL45.enhanced_layouts.xfb_block_stride
authorasokolow <aleksy.sokolowski@intel.com>
Fri, 30 Mar 2018 09:30:41 +0000 (11:30 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Sun, 8 Jul 2018 14:11:15 +0000 (10:11 -0400)
There is an interface mismatch between Vertex and Geometry shaders
used in this test. VS is lacking an output variable that GS is reading.

VK-GL-CTS Issue: 1223

Components: OpenGL

Affects: KHR-GL45.enhanced_layouts.xfb_block_stride

Change-Id: I597f5dd8b553a0a47fe00eebb701822e9ef8f678

external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp

index 85a92de..c3b995e 100644 (file)
@@ -21569,10 +21569,11 @@ std::string XFBBlockStrideTest::getShaderSource(GLuint test_case_index, Utils::S
                                                          "\n"
                                                          "in  vec4 in_vs;\n"
                                                          "out vec4 vs_tcs;\n"
+                                                         "out vec4 tes_gs;\n"
                                                          "\n"
                                                          "void main()\n"
                                                          "{\n"
-                                                         "    vs_tcs = in_vs;\n"
+                                                         "    vs_tcs = tes_gs = in_vs;\n"
                                                          "}\n"
                                                          "\n";
        static const GLchar* vs_tested = "#version 430 core\n"