mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-15 18:25:49 +00:00
* This lets the testcase track the current EID and print it when a failure happens
19 lines
479 B
Python
19 lines
479 B
Python
import rdtest
|
|
|
|
|
|
class VK_Imageless_Framebuffer(rdtest.TestCase):
|
|
demos_test_name = 'VK_Imageless_Framebuffer'
|
|
|
|
def check_capture(self):
|
|
action = self.find_action("Draw")
|
|
|
|
assert action is not None
|
|
|
|
self.set_event(action.eventId, False)
|
|
|
|
pipe = self.controller.GetPipelineState()
|
|
|
|
self.check_pixel_value(pipe.GetOutputTargets()[0].resource, 0.5, 0.5, [0.0, 1.0, 0.0, 1.0])
|
|
|
|
rdtest.log.success("picked value is as expected")
|