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:
@@ -5,6 +5,8 @@ off whatever the CPU; On is both threads whatever the CPU; Auto is both threads
|
||||
run is not safe, and with no buffer-pool mirrors the recorder thread alone from 6 cores, off below. RX_VK_THREADED's words. The
|
||||
source: the row is on the Debug tab with Off first, async_on reads the render thread's half only with RX_VK_ASYNC unset, the
|
||||
recorder's half goes through recorder_auto in pick_device, and the host asks HOS_OPT_RENDER_THREAD only with RX_VK_ASYNC unset.
|
||||
(11-27) The recorder's hand-off by part is not Threaded rendering's: RX_VK_RECORDER_PARTS=1 alone turns it on (with it the 3D was
|
||||
drawn with wrong textures on the lab's RX 7900 XT, in v0.8.3 too).
|
||||
|
||||
python -I -B tests/test_threaded_rendering.py [--cxx clang++]
|
||||
"""
|
||||
@@ -87,7 +89,7 @@ def check_source():
|
||||
for needle, where in (
|
||||
('g_parts.store(pe && *pe ? atoi(pe) != 0 : g_parts_default && g_parts_default(), std::memory_order_relaxed);', rec),
|
||||
("if (!g_parts.load(std::memory_order_relaxed)) return;", rec), # (queue_lock_event: nothing without the hand-off)
|
||||
("::mkwvk::rec::g_parts_default = [] { return threaded_on(); }", replay),
|
||||
("const bool rec_parts_hooks = (::mkwvk::queue_lock_hook = ::mkwvk::rec::queue_lock_event, true);", replay),
|
||||
("const bool post = rec::parts_wanted() && r.pieces.empty() && !memory_lazy_running();", replay),
|
||||
('v.on = e && *e ? atoi(e) != 0 : threaded_on() && !getenv("RX_VK_CHUNK");', replay),
|
||||
("const bool v = e && *e ? atoi(e) == 1 : threaded_on();", replay),
|
||||
@@ -95,6 +97,12 @@ def check_source():
|
||||
("QueueMutex present_mu;", internal)):
|
||||
if needle not in where:
|
||||
fail("a piece of the design moved or changed: " + needle)
|
||||
# ((Triforce, 11-27) the recorder's hand-off by part is RX_VK_RECORDER_PARTS=1's alone: with Threaded rendering it drew the 3D
|
||||
# with wrong textures on the lab's RX 7900 XT, in v0.8.3 too)
|
||||
if "g_parts_default =" in replay:
|
||||
fail("Threaded rendering (or anything) turns the recorder's hand-off by part on again: vk_replay.cpp rec_parts_hooks")
|
||||
if "the recorder thread by part" in (ROOT / "gpu/vk/threaded_rendering.h").read_text(encoding="utf-8"):
|
||||
fail("the start's line still says the recorder thread takes parts")
|
||||
fn = backend[backend.index("int rx_async_replay(void) {"):backend.index("void rx_nvn_submit_waits(")]
|
||||
if fn.index('getenv("RX_VK_ASYNC")') > fn.index("HOS_OPT_RENDER_THREAD"):
|
||||
fail("rx_async_replay asks the renderer before RX_VK_ASYNC")
|
||||
|
||||
Reference in New Issue
Block a user