From: David Emett Date: Wed, 21 Aug 2019 18:48:38 +0000 (+0100) Subject: Fix build when DEQP_HAVE_GLSLANG not defined X-Git-Tag: upstream/1.3.5~1888 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db50943898abca5bf39122a62d329c864809f96e;p=platform%2Fupstream%2FVK-GL-CTS.git Fix build when DEQP_HAVE_GLSLANG not defined Change-Id: I437a51e03c72b823ae3093fbce178f556b0e23c1 --- diff --git a/external/openglcts/modules/common/glcSpirvUtils.cpp b/external/openglcts/modules/common/glcSpirvUtils.cpp index f3b451d..e510cea 100644 --- a/external/openglcts/modules/common/glcSpirvUtils.cpp +++ b/external/openglcts/modules/common/glcSpirvUtils.cpp @@ -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.");