mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
* This includes: - Incorrect comparisons - Missing type annotations where it can't be inferred - Variable shadowing and bad use - Unused imports - asserts for non-None on types * Passes clean on strict pyright checking except for `reportMissingParameterType`, `reportUnusedVariable`, and `reportOptionalMemberAccess` which are all too spammy and low value to be worth addressing.
30 lines
886 B
Python
30 lines
886 B
Python
import rdtest
|
|
|
|
|
|
class D3D12_Draw_Zoo(rdtest.Draw_Zoo):
|
|
demos_test_name = 'D3D12_Draw_Zoo'
|
|
internal = False
|
|
|
|
def check_capture(self):
|
|
rdtest.log.begin_section("SM5.0")
|
|
marker = self.find_action("SM5.0")
|
|
assert marker is not None
|
|
self.check_capture_action(marker)
|
|
rdtest.log.end_section("SM5.0")
|
|
|
|
marker = self.find_action("SM6.0")
|
|
if marker is None:
|
|
rdtest.log.print("No SM6.0 action to test")
|
|
return
|
|
rdtest.log.begin_section("SM6.0")
|
|
self.check_capture_action(marker)
|
|
rdtest.log.end_section("SM6.0")
|
|
|
|
marker = self.find_action("SM6.6")
|
|
if marker is None:
|
|
rdtest.log.print("No SM6.6 action to test")
|
|
return
|
|
rdtest.log.begin_section("SM6.6")
|
|
self.check_capture_action(marker)
|
|
rdtest.log.end_section("SM6.6")
|