mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-27 09:05:17 +00:00
Make VK_Indirect less sensitive to event IDs changing
This commit is contained in:
23 files changed
+6
-2
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -14,8 +14,8 @@ class VK_Indirect(rdtest.TestCase):
|
||||
|
||||
out.SetTextureDisplay(tex)
|
||||
|
||||
overlay_path = rdtest.get_tmp_path(str(eventId) + '_draw.png')
|
||||
ref_path = self.get_ref_path(str(eventId) + '_draw.png')
|
||||
overlay_path = rdtest.get_tmp_path(str(self.overlay_idx) + '_draw.png')
|
||||
ref_path = self.get_ref_path(str(self.overlay_idx) + '_draw.png')
|
||||
|
||||
save_data.resourceId = out.GetDebugOverlayTexID()
|
||||
|
||||
@@ -25,9 +25,13 @@ class VK_Indirect(rdtest.TestCase):
|
||||
raise rdtest.TestFailureException("Reference and output image differ @ EID {}".format(str(eventId)),
|
||||
ref_path, overlay_path)
|
||||
|
||||
self.overlay_idx = self.overlay_idx + 1
|
||||
|
||||
def check_capture(self):
|
||||
self.check_final_backbuffer()
|
||||
|
||||
self.overlay_idx = 1
|
||||
|
||||
for level in ["Primary", "Secondary"]:
|
||||
rdtest.log.print("Checking {} indirect calls".format(level))
|
||||
|
||||
|
||||
Reference in new issue
Block a user