diff --git a/util/test/tests/Iter_Test.py b/util/test/tests/Iter_Test.py index c4a2c1b4a..92b4286a7 100644 --- a/util/test/tests/Iter_Test.py +++ b/util/test/tests/Iter_Test.py @@ -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;