Enable Vk Workgroup and Subgroup tests

This commit is contained in:
Jake Turner
2025-08-14 08:13:49 +01:00
parent 754b5d21eb
commit decbcff6ab
4 changed files with 22 additions and 8 deletions
+1 -7
View File
@@ -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'
+7 -1
View File
@@ -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'