mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-12 17:51:02 +00:00
Use proper base file for editing shader files
This commit is contained in:
@@ -997,7 +997,7 @@ IShaderViewer *PipelineStateViewer::EditOriginalShaderSource(ResourceId id,
|
||||
rdcstrpairs files;
|
||||
|
||||
// add the entry point file first, if we have one
|
||||
const int entryFile = shaderDetails->debugInfo.entryLocation.fileIndex;
|
||||
const int entryFile = shaderDetails->debugInfo.editBaseFile;
|
||||
|
||||
for(int i = -1; i < shaderDetails->debugInfo.files.count(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user