mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Iter Test skip pixel debug when no pixel shader bound at mod event
This commit is contained in:
@@ -260,6 +260,10 @@ class Iter_Test(rdtest.TestCase):
|
||||
|
||||
pipe: rd.PipeState = self.controller.GetPipelineState()
|
||||
|
||||
if pipe.GetShader(rd.ShaderStage.Pixel) == rd.ResourceId.Null():
|
||||
rdtest.log.print("Nothing to debug. No pixel shader bound at {}".format(action.eventId))
|
||||
return
|
||||
|
||||
inputs = rd.DebugPixelInputs()
|
||||
inputs.sample = 0
|
||||
inputs.primitive = lastmod.primitiveID;
|
||||
|
||||
Reference in New Issue
Block a user