mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 13:21:45 +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:
1 parent
8a2ca8e14d
commit
0194951bca
1 file changed
+2
-2
@@ -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