Skip to content

Commit 0194951

Browse files
committed
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
1 parent 8a2ca8e commit 0194951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/test/tests/D3D12/D3D12_Resource_Mapping_Zoo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def check_capture_internal(self) -> bool:
8282
test_marker: rd.ActionDescription = self.find_action("SM6.0")
8383
if test_marker is None:
8484
rdtest.log.print("No SM6.0 action to test")
85-
return failed
85+
return not failed
8686

8787
rdtest.log.begin_section("SM6.0 tests")
8888

@@ -121,7 +121,7 @@ def check_capture_internal(self) -> bool:
121121
test_marker: rd.ActionDescription = self.find_action("SM6.6")
122122
if test_marker is None:
123123
rdtest.log.print("No SM6.6 action to test")
124-
return failed
124+
return not failed
125125

126126
rdtest.log.begin_section("SM6.6 tests")
127127

0 commit comments

Comments
 (0)