mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Need SPIR-V compilation in release now too.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user