From eeb62f3d67fc6569199ba78a3ef809cf74ce8069 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 11 Dec 2015 15:11:56 +0100 Subject: [PATCH] Need SPIR-V compilation in release now too. --- renderdoc/driver/shaders/spirv/spirv_compile.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/renderdoc/driver/shaders/spirv/spirv_compile.cpp b/renderdoc/driver/shaders/spirv/spirv_compile.cpp index 9aac504a4..4acd610f2 100644 --- a/renderdoc/driver/shaders/spirv/spirv_compile.cpp +++ b/renderdoc/driver/shaders/spirv/spirv_compile.cpp @@ -134,9 +134,6 @@ TBuiltInResource DefaultResources = string CompileSPIRV(SPIRVShaderStage shadType, const std::vector &sources, vector &spirv) { -#if 1 || defined(RELEASE) - return "SPIR-V disassembly disabled due to glslang instability"; -#else if(shadType >= eSPIRVInvalid) return "Invalid shader stage specified"; @@ -205,5 +202,4 @@ string CompileSPIRV(SPIRVShaderStage shadType, const std::vector &s delete[] strs; return errors; -#endif }