Need SPIR-V compilation in release now too.

This commit is contained in:
baldurk
2015-12-11 15:11:56 +01:00
parent 764d05bbee
commit eeb62f3d67
@@ -134,9 +134,6 @@ TBuiltInResource DefaultResources =
string CompileSPIRV(SPIRVShaderStage shadType, const std::vector<std::string> &sources, vector<uint32_t> &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<std::string> &s
delete[] strs;
return errors;
#endif
}