VK and D3D12 Workgroup & Subgroup Zoo tests fail on Asserts or Errors

Check the renderdoc log for lines matching "Assertion" or "Error"
Using new helper function in testcase.py
def check_renderdoc_log(self, asserts: bool = True, errors: bool = True):
This commit is contained in:
Jake Turner
2025-04-22 11:41:15 +01:00
parent 1c4520534d
commit eeac056816
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ void main()
{
vec4 data = vec4(0);
uint id = gl_SubgroupInvocationID;
gsmUint4[id] = id;
gsmUint4[id] = id.xxxx;
SetOutput(data);
if(IsTest(0))
+3 -1
View File
@@ -272,4 +272,6 @@ class Subgroup_Zoo(rdtest.TestCase):
overallFailed |= self.check_compute_tests(compute_dims, thread_checks)
if overallFailed:
raise rdtest.TestFailureException("Some tests were not as expected")
raise rdtest.TestFailureException("Some tests were not as expected")
self.check_renderdoc_log()
+3 -1
View File
@@ -25,4 +25,6 @@ class Workgroup_Zoo(rdtest.Subgroup_Zoo):
]
if self.check_compute_tests(compute_dims, thread_checks):
raise rdtest.TestFailureException("Some tests were not as expected")
raise rdtest.TestFailureException("Some tests were not as expected")
self.check_renderdoc_log()