Fix build when spirv-tools are not available
authorPyry Haulos <phaulos@google.com>
Wed, 9 Sep 2015 20:03:59 +0000 (13:03 -0700)
committerPyry Haulos <phaulos@google.com>
Wed, 9 Sep 2015 20:03:59 +0000 (13:03 -0700)
Change-Id: Iaa21f82cb51a18e927e5bd36a857b10a590240fc

external/vulkancts/framework/vulkan/vkSpirVAsm.cpp

index 9ff7944..9c3e46d 100644 (file)
@@ -112,7 +112,7 @@ void assembleSpirV (const SpirVAsmSource* program, std::vector<deUint8>* dst, Sp
 
 #else // defined(DEQP_HAVE_SPIRV_TOOLS)
 
-void assembleSpirV (const SpirvProgram* program, std::vector<deUint8>* dst, SpirvProgramInfo* buildInfo)
+void assembleSpirV (const SpirVAsmSource*, std::vector<deUint8>*, SpirVProgramInfo*)
 {
        TCU_THROW(NotSupportedError, "SPIR-V assembly not supported (DEQP_HAVE_SPIRV_TOOLS not defined)");
 }