Files
renderdoc/util/test/tests/Vulkan/VK_Buffer_Truncation.py
T
baldurk 748e089b15 Fix remaining static analysis identified issues in python test code
* 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.
2026-09-11 15:04:05 +01:00

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()