Triforce v0.8.5.2

Hotfix: the brightness flashes fixed without the fps cost (the readback wait only for ranges the CPU resets), and the Discord status names where Link is by default.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-28 15:45:28 -06:00
parent 0f7d57ac14
commit 8cb23131f9
13 changed files with 412 additions and 54 deletions

View File

@@ -27,16 +27,16 @@ def main():
raise SystemExit("wait_recorded waits without sending the held batch: a batched recording's signal never comes")
# ((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:
rrw = body(replay, "bool readback_recorded_wait(uint64_t v, uint64_t guest, uint64_t size, int* ok) {")
if "readback_recorded_wait(v, host->gpu_guest(gpu), size, &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")
# ((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) {")
rb = body(replay, "bool readback_rec_wait(uint64_t v, uint64_t guest, uint64_t size, 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:
if "readback_rec_wait(v, guest, size, 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")