From e3d14557b3af43a0ab61fdb49a387386abf2a890 Mon Sep 17 00:00:00 2001 From: Andres Gomez Date: Thu, 1 Feb 2018 12:03:21 +0200 Subject: [PATCH] gl_spirv: Correct ARB_gl_spirv check function type The check for GL_ARB_gl_spirv or GL 4.6 doesn't return anything but just throws an exception. This corrects the type of the call. Affects: KHR-GL45.gl_spirv.* Components: OpenGL VK-GL-CTS issue: 981 Change-Id: Ic051d7949672b7a824ebe5c67761be866cd1877f --- external/openglcts/modules/gl/gl4cGlSpirvTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/openglcts/modules/gl/gl4cGlSpirvTests.cpp b/external/openglcts/modules/gl/gl4cGlSpirvTests.cpp index 7e9e9bb..7c0b997 100644 --- a/external/openglcts/modules/gl/gl4cGlSpirvTests.cpp +++ b/external/openglcts/modules/gl/gl4cGlSpirvTests.cpp @@ -517,7 +517,7 @@ bool compareUintColors(const GLuint inColor, const GLuint refColor, const int ep return false; } -bool checkGlSpirvSupported(deqp::Context& m_context) +void checkGlSpirvSupported(deqp::Context& m_context) { bool is_at_least_gl_46 = (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 6))); bool is_arb_gl_spirv = m_context.getContextInfo().isExtensionSupported("GL_ARB_gl_spirv"); -- 2.7.4