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:
Jake Turner
2025-11-12 17:42:03 +13:00
parent 8a2ca8e14d
commit 0194951bca
@@ -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")