Fix build when DEQP_HAVE_GLSLANG not defined
authorDavid Emett <demett@broadcom.com>
Wed, 21 Aug 2019 18:48:38 +0000 (19:48 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 5 Sep 2019 13:02:53 +0000 (09:02 -0400)
Change-Id: I437a51e03c72b823ae3093fbce178f556b0e23c1

external/openglcts/modules/common/glcSpirvUtils.cpp

index f3b451d..e510cea 100644 (file)
@@ -268,12 +268,13 @@ bool compileGlslToSpirV(tcu::TestLog& log, std::string source, glu::ShaderType t
 
 #else // DEQP_HAVE_GLSLANG
 
-bool compileGlslToSpirV(tcu::TestLog& log, std::string source, glu::ShaderType type, ShaderBinaryDataType* dst)
+bool compileGlslToSpirV(tcu::TestLog& log, std::string source, glu::ShaderType type, ShaderBinaryDataType* dst, SpirvVersion version)
 {
        DE_UNREF(log);
        DE_UNREF(source);
        DE_UNREF(type);
        DE_UNREF(dst);
+       DE_UNREF(version);
 
        TCU_THROW(InternalError, "Glslang not available.");