mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Enable Vk Workgroup and Subgroup tests
This commit is contained in:
@@ -8,12 +8,6 @@ class Subgroup_Zoo(rdtest.TestCase):
|
||||
demos_test_name = None
|
||||
workgroup = (0, 0, 0)
|
||||
|
||||
def check_support(self, **kwargs):
|
||||
# Only allow this if explicitly run
|
||||
if kwargs['test_include'] == self.demos_test_name:
|
||||
return True, ''
|
||||
return False, 'Disabled test'
|
||||
|
||||
def check_compute_thread_result(self, test, action, x, y, z, dim, bufdata):
|
||||
try:
|
||||
real = struct.unpack_from(
|
||||
@@ -169,7 +163,7 @@ class Subgroup_Zoo(rdtest.TestCase):
|
||||
rdtest.log.error(
|
||||
f"Test {idx} at {action.eventId} got no debug result at {vtx} inst {inst} view {view}")
|
||||
failed = True
|
||||
return
|
||||
continue
|
||||
|
||||
_, variables = self.process_trace(trace)
|
||||
|
||||
|
||||
@@ -3,3 +3,10 @@ import rdtest
|
||||
class D3D11_Workgroup_Zoo(rdtest.Workgroup_Zoo):
|
||||
demos_test_name = 'D3D11_Workgroup_Zoo'
|
||||
internal = False
|
||||
|
||||
def check_support(self, **kwargs):
|
||||
# Only allow this if explicitly run
|
||||
if kwargs['test_include'] == self.demos_test_name:
|
||||
return True, ''
|
||||
return False, 'Disabled test'
|
||||
|
||||
|
||||
@@ -2,4 +2,10 @@ import rdtest
|
||||
|
||||
class D3D12_Subgroup_Zoo(rdtest.Subgroup_Zoo):
|
||||
demos_test_name = 'D3D12_Subgroup_Zoo'
|
||||
internal = False
|
||||
internal = False
|
||||
|
||||
def check_support(self, **kwargs):
|
||||
# Only allow this if explicitly run
|
||||
if kwargs['test_include'] == self.demos_test_name:
|
||||
return True, ''
|
||||
return False, 'Disabled test'
|
||||
@@ -3,3 +3,10 @@ import rdtest
|
||||
class D3D12_Workgroup_Zoo(rdtest.Workgroup_Zoo):
|
||||
demos_test_name = 'D3D12_Workgroup_Zoo'
|
||||
internal = False
|
||||
|
||||
def check_support(self, **kwargs):
|
||||
# Only allow this if explicitly run
|
||||
if kwargs['test_include'] == self.demos_test_name:
|
||||
return True, ''
|
||||
return False, 'Disabled test'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user