mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
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:
@@ -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))
|
||||
|
||||
@@ -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()
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user