mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-28 10:21:48 +00:00
Check indirect action names in a selection of tests
- VK_Indirect - VK_Mesh_Shader - VK_Resource_Usage
This commit is contained in:
@@ -315,6 +315,10 @@ class VK_Indirect(rdtest.TestCase):
|
||||
|
||||
def check_capture(self):
|
||||
|
||||
with rdtest.log.auto_section("Checking Indirect Action Names"):
|
||||
if not self.check_indirect_action_name_consistency(self.controller):
|
||||
raise rdtest.TestFailureException("Indirect action parameters do not match its event parameters")
|
||||
|
||||
fill = self.find_action("vkCmdFillBuffer")
|
||||
|
||||
self.check(fill is not None)
|
||||
|
||||
@@ -103,3 +103,7 @@ class VK_Mesh_Shader(rdtest.TestCase):
|
||||
postms_data = self.get_postvs(action, rd.MeshDataStage.MeshOut, 0, action.numIndices)
|
||||
self.check_mesh_data(postms_ref, postms_data)
|
||||
self.check_debug_pixel(x, y)
|
||||
|
||||
with rdtest.log.auto_section("Checking Indirect Action Names"):
|
||||
if not self.check_indirect_action_name_consistency(self.controller):
|
||||
raise rdtest.TestFailureException("Indirect action parameters do not match its event parameters")
|
||||
@@ -427,3 +427,6 @@ class VK_Resource_Usage(rdtest.TestCase):
|
||||
if eid not in self.eids:
|
||||
raise rdtest.TestFailureException(f"'{res.name}' {res.resourceId} Missing EID:{eid}")
|
||||
|
||||
with rdtest.log.auto_section("Checking Indirect Action Names"):
|
||||
if not self.check_indirect_action_name_consistency(self.controller):
|
||||
raise rdtest.TestFailureException("Indirect action parameters do not match its event parameters")
|
||||
Reference in New Issue
Block a user