mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -25,9 +25,20 @@ def main():
|
||||
flush = wait.find("queue_flush_for(")
|
||||
if flush < 0 or flush > wait.index("vkWaitSemaphores("):
|
||||
raise SystemExit("wait_recorded waits without sending the held batch: a batched recording's signal never comes")
|
||||
if "wait_recorded(v, UINT64_MAX, &ok)" not in body(replay, "void invalidate(uint64_t gpu, uint64_t size) {"):
|
||||
# ((Triforce, 11-27) invalidate reaches it through readback_recorded_wait, kept out of invalidate for its renderer profile)
|
||||
inv = body(replay, "void invalidate(uint64_t gpu, uint64_t size) {")
|
||||
rrw = body(replay, "bool readback_recorded_wait(uint64_t v, int* ok) {")
|
||||
if "readback_recorded_wait(v, &ok)" not in inv or "wait_recorded(v, UINT64_MAX, ok)" not in rrw:
|
||||
raise SystemExit("invalidate's readback wait no longer goes through wait_recorded: update this test")
|
||||
print("PASS: wait_recorded sends the held batch before it waits")
|
||||
# ((Triforce, 11-27) RX_VK_RB_REC_END: the readback's wait by its own rule, readback_rec_wait, flushes the same way)
|
||||
rb = body(replay, "bool readback_rec_wait(uint64_t v, int* ok) {")
|
||||
rw = rb[rb.index("int rec_wait(uint64_t seq) {"):]
|
||||
flush = rw.find("queue_flush_for(")
|
||||
if "vkWaitSemaphores(" not in rw or flush < 0 or flush > rw.index("vkWaitSemaphores("):
|
||||
raise SystemExit("readback_rec_wait waits without sending the held batch: a batched recording's signal never comes")
|
||||
if "readback_rec_wait(v, ok)" not in rrw:
|
||||
raise SystemExit("invalidate's readback wait no longer goes through readback_rec_wait: update this test")
|
||||
print("PASS: wait_recorded and readback_rec_wait send the held batch before they wait")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user