mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-26 20:01:17 +00:00
Fix shader editing check for replay pipelines/programs
This commit is contained in:
@@ -3640,7 +3640,7 @@ void D3D12Replay::RefreshDerivedReplacements()
|
||||
ResourceId origsrcid = pipesrcid;
|
||||
|
||||
// only look at pipelines from the capture, no replay-time programs.
|
||||
if(origsrcid == pipesrcid)
|
||||
if(ResourceIDGen::IsReplayOnlyID(pipesrcid))
|
||||
continue;
|
||||
|
||||
// if this pipeline has a replacement, remove it and delete the program generated for it
|
||||
|
||||
@@ -1810,7 +1810,7 @@ void WrappedOpenGL::RefreshDerivedReplacements()
|
||||
ResourceId origsrcid = progsrcid;
|
||||
|
||||
// only look at programs from the capture, no replay-time programs.
|
||||
if(origsrcid == progsrcid)
|
||||
if(ResourceIDGen::IsReplayOnlyID(progsrcid))
|
||||
continue;
|
||||
|
||||
// skip glCreateShaderProgramv programs. We handled this above and we don't want to try and
|
||||
|
||||
@@ -5271,7 +5271,7 @@ void VulkanReplay::RefreshDerivedReplacements()
|
||||
ResourceId origsrcid = pipesrcid;
|
||||
|
||||
// only look at pipelines from the capture, no replay-time programs.
|
||||
if(origsrcid == pipesrcid)
|
||||
if(ResourceIDGen::IsReplayOnlyID(pipesrcid))
|
||||
continue;
|
||||
|
||||
// if this pipeline has a replacement, remove it and delete the program generated for it
|
||||
|
||||
Reference in New Issue
Block a user