From de286b760576465bf79de9836f4f5461b571462c Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Mon, 6 Nov 2017 19:50:28 +0100 Subject: [PATCH] GL_ARB_compute_shader required for OpenGL < 4.3 GL_ARB_compute_shader is part of OpenGL 4.3 and above. For older versions, it is required to enable it explicitly. Fixes: KHR-GL31.CommonBugs.CommonBug_ParenthesisInLayoutQualifierIntegerValue KHR-GL32.CommonBugs.CommonBug_ParenthesisInLayoutQualifierIntegerValue KHR-GL33.CommonBugs.CommonBug_ParenthesisInLayoutQualifierIntegerValue KHR-GL40.CommonBugs.CommonBug_ParenthesisInLayoutQualifierIntegerValue KHR-GL41.CommonBugs.CommonBug_ParenthesisInLayoutQualifierIntegerValue KHR-GL42.CommonBugs.CommonBug_ParenthesisInLayoutQualifierIntegerValue Components: OpenGL VK-GL-CTS issue: 818 Change-Id: I8e7ab78e29861547f0379feebce0375e1dabf47c --- external/openglcts/modules/gl/gl3cCommonBugsTests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/external/openglcts/modules/gl/gl3cCommonBugsTests.cpp b/external/openglcts/modules/gl/gl3cCommonBugsTests.cpp index d15ab8d..4b1a33b 100644 --- a/external/openglcts/modules/gl/gl3cCommonBugsTests.cpp +++ b/external/openglcts/modules/gl/gl3cCommonBugsTests.cpp @@ -1511,7 +1511,8 @@ tcu::TestNode::IterateResult ParenthesisInLayoutQualifierIntegerValuesTest::iter "}\n"; const char* cs_body_parts[] = { (!glu::contextSupports(context_type, glu::ApiType::core(4, 3))) ? - "#version 420 core\n" : + "#version 420 core\n" + "#extension GL_ARB_compute_shader : enable\n" : (!glu::contextSupports(context_type, glu::ApiType::core(4, 4))) ? "#version 430 core\n" : "#version 440 core\n", -- 2.7.4