Triforce v0.7.0 "Sage Of Courage"

The 0.6 crashes after warps and area changes fixed (no write-back into memory the capture leaves out), invisible objects fixed (occlusion gate), DLSS frame generation flicker fixed, achievements, the renderer built with a play profile, faster translated game code, helper threads judged on settled scenes, memory, shader preparation, audio effects, launcher, controls and Linux fixes.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-22 11:59:06 -06:00
parent 70c210cee1
commit e6f2f248f2
529 changed files with 55958 additions and 1898 deletions

View File

@@ -46,7 +46,10 @@ def check_source():
need("vk_draw.cpp: prepare_workers()", workers,
['getenv("RX_VK_PREPARE_THREADS")', "GlobalMemoryStatusEx(&ms)", "ram_free = ms.ullAvailPhys;",
"GetPriorityClass(GetCurrentProcess())", "cls == ABOVE_NORMAL_PRIORITY_CLASS || cls == HIGH_PRIORITY_CLASS",
"prepare_threads::count(cpus, ram_free, above_normal, e ? atoi(e) : 0)", "MemAvailable"])
"prepare_threads::count(cpus, ram_free, above_normal, e ? atoi(e) : 0)", "MemAvailable",
# ((Triforce) which heap the process is on, said in the same line: nx2/win_manifest.py's HOOKSHOT_SEGMENT_HEAP)
"memcpy(&heap_signature, (const char*)heap + 16, sizeof heap_signature);",
"prepare_threads::heap_name(heap_signature)", '", the process heap: "'])
# ((Triforce) the translation pass's workers: fewer on AMD's driver for RDNA 1 and 2, told apart as vk_vendor.h tells it)
translate = block(draw, "unsigned prepare_translate_workers() {")
need("vk_draw.cpp: prepare_translate_workers()", translate,
@@ -62,7 +65,7 @@ def check_source():
need("vk_draw.cpp: %s()" % name, body,
["const unsigned workers = prepare_workers();", "for (unsigned i = 0; i < workers; i++) threads.emplace_back(",
"SetThreadPriority(GetCurrentThread(), prepare_priority());"])
if "cpus / 2" in body or "hardware_concurrency" in body:
if "cpus / 2" in body or "hardware_concurrency" in body or "cpu_count()" in body:
raise SystemExit("vk_draw.cpp: %s() counts its workers itself again" % name)
prepare = block(draw, "bool prepare_run(void (*progress)(size_t done, size_t total), bool background) {")
need("vk_draw.cpp: prepare_run()", prepare,