mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix Iter_Test and Repeat_Load for newest python API
This commit is contained in:
@@ -271,7 +271,7 @@ class Iter_Test(rdtest.TestCase):
|
||||
|
||||
self.controller.FreeTrace(trace)
|
||||
|
||||
debuggedValue = [debugged.value.f.x, debugged.value.f.y, debugged.value.f.z, debugged.value.f.w]
|
||||
debuggedValue = list(debugged.value.f32v[0:4])
|
||||
|
||||
# For now, ignore debugged values that are uninitialised. This is an application bug but it causes false reports of problems
|
||||
for idx in range(4):
|
||||
|
||||
@@ -18,6 +18,8 @@ class Repeat_Load(rdtest.TestCase):
|
||||
rdtest.log.print("Skipping. Can't open {}: {}".format(path, err))
|
||||
return
|
||||
|
||||
rdtest.log.print("Loaded capture.")
|
||||
|
||||
# Do nothing, just ensure it's loaded
|
||||
memory_usage: int = rd.GetCurrentProcessMemoryUsage()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user