mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Fix D3D12_Resource_Mapping_Zoo false failure if no SM6.6 action to test
Apply the same fix for no SM6.0 action to test
This commit is contained in:
@@ -82,7 +82,7 @@ class D3D12_Resource_Mapping_Zoo(rdtest.TestCase):
|
||||
test_marker: rd.ActionDescription = self.find_action("SM6.0")
|
||||
if test_marker is None:
|
||||
rdtest.log.print("No SM6.0 action to test")
|
||||
return failed
|
||||
return not failed
|
||||
|
||||
rdtest.log.begin_section("SM6.0 tests")
|
||||
|
||||
@@ -121,7 +121,7 @@ class D3D12_Resource_Mapping_Zoo(rdtest.TestCase):
|
||||
test_marker: rd.ActionDescription = self.find_action("SM6.6")
|
||||
if test_marker is None:
|
||||
rdtest.log.print("No SM6.6 action to test")
|
||||
return failed
|
||||
return not failed
|
||||
|
||||
rdtest.log.begin_section("SM6.6 tests")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user