mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-18 03:35:57 +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.
16 lines
491 B
Python
16 lines
491 B
Python
import rdtest
|
|
|
|
|
|
class VK_Buffer_Truncation(rdtest.Buffer_Truncation):
|
|
demos_test_name = 'VK_Buffer_Truncation'
|
|
internal = False
|
|
draw_action = None
|
|
|
|
def check_capture(self):
|
|
self.draw_action = self.find_action("Draw")
|
|
super().check_capture()
|
|
|
|
rdtest.log.print("Repeating test with index buffer subrange bound via vkCmdBindIndexBuffer2KHR")
|
|
self.draw_action = self.find_action("Draw", self.draw_action.eventId+1)
|
|
super().check_capture()
|