Fix UniformBlockPrecisionMatching test
authorPiotr Byszewski <piotr.byszewski@mobica.com>
Tue, 19 Sep 2017 11:58:53 +0000 (13:58 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 27 Sep 2017 09:28:17 +0000 (05:28 -0400)
Fixed an issue that resulted in omiting second set of
shaders (first set was tested twice).

Components: OpenGL

Affects:
KHR-GLES3.shaders.uniform_block.common.precision_matching

Change-Id: I44205f66cd5672692fc46f4db91801b86aa8ff74

external/openglcts/modules/common/glcUniformBlockTests.cpp

index b8cd0bc..be6c252 100644 (file)
@@ -620,7 +620,7 @@ public:
                const glw::GLuint        p                = gl.createProgram();
                const std::string        version = glu::getGLSLVersionDeclaration(m_glslVersion);
 
-               static const struct
+               const struct
                {
                        const char*                name;
                        const std::string& body;