Don't use shader compile flags when editing decompiled shader

This commit is contained in:
baldurk
2022-07-04 14:22:59 +01:00
parent c56beb77c8
commit 1fdb7db07e
@@ -1026,8 +1026,8 @@ IShaderViewer *PipelineStateViewer::EditDecompiledSource(const ShaderProcessingT
rdcstrpairs files;
files.push_back(rdcpair<rdcstr, rdcstr>("decompiled", source));
IShaderViewer *sv = EditShader(id, shaderDetails->stage, shaderDetails->entryPoint,
shaderDetails->debugInfo.compileFlags, tool.output, files);
IShaderViewer *sv =
EditShader(id, shaderDetails->stage, shaderDetails->entryPoint, {}, tool.output, files);
sv->ShowErrors(out.log);