Triforce v0.9.0

Character tab, faster renderer defaults, HD rumble shipped, and the 11-30 bug pass: ending softlock below 60 fps, adult first-night lock, Intel Arc robust buffers, adult map, randomizer load order.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-30 20:55:14 -06:00
parent 8cb23131f9
commit 822ee913bc
86 changed files with 8128 additions and 438 deletions

View File

@@ -123,8 +123,9 @@ inline bool split_start_full(bool carry, bool recorded_between) {
/// none is ever hidden. NVIDIA's driver is the device's driver id (VK_DRIVER_ID_NVIDIA_PROPRIETARY, one id on Windows and
/// Linux), not the card's vendor: NVK, Dozen and Venus on an NVIDIA card, and every other driver (AMD, Intel, RADV and the
/// Deck), keep 120 until the lab has measured them. These sizes apply where parts are cut by count: Threaded rendering off
/// (and RX_VK_PART_PASS_END not 1, which gives the pass-end parts on any run), or RX_VK_PART_PASS_END=0. With Threaded
/// rendering on and RX_VK_PART_PASS_END unset a part ends where the game ends its render pass and neither size is read
/// on a driver other than NVIDIA's (and RX_VK_PART_PASS_END not 1, which gives the pass-end parts on any run), or
/// RX_VK_PART_PASS_END=0. With Threaded rendering on, or on NVIDIA's driver since 11-29 (part_pass_end_default, below), and
/// RX_VK_PART_PASS_END unset a part ends where the game ends its render pass and neither size is read
/// (vk_replay.cpp pass_end_parts); any RX_VK_CHUNK turns those parts off, so leave it unset there. Where parts are counted,
/// RX_VK_CHUNK=120 is the old size on NVIDIA's driver too, and the knob chunk:120 compares it inside a run; with the pass-end
/// parts on, the knob's phases are counted and the phases between end at the game's passes, so the knob compares those two.
@@ -143,6 +144,17 @@ inline int64_t part_draws(bool env_set, int64_t env_value, int64_t knob_or_defau
/// As the size was read before: the variable's number, 120 unset (since 11-26 the unset size on NVIDIA's driver is
/// kPartDrawsNvidia: part_draws_default)
inline int64_t part_draws_before(const char* env) { return env ? std::atoll(env) : 120; }
/// ((Triforce, 11-29, the performance session) RX_VK_PART_PASS_END unset, Threaded rendering off: whether a submission's parts
/// end where the game ends its render pass (vk_replay.cpp pass_end_parts: the first part from 32 draws and dispatches, the
/// rest from 120, at 512 at the latest) instead of every part_draws_default draws wherever that falls. On NVIDIA's driver (the
/// driver id, as part_draws_default). The frame trace at Lake Hylia showed why: the Presentation Thread's 8-handle submission
/// stops at an event another queue's later submission signals, and when that one comes the stopped work is recorded as one
/// burst that reached the GPU only at the 240-draw cut: the GPU sat idle ~0.9 ms of a 5.4 ms frame, and the next frame's
/// readbacks wait for that work. With the first part at 32 the GPU starts while the rest is recorded. Measured on the RTX
/// 5090 at 2560 x 1440 (the benchmark's seven-scene tour, camera turning, three rounds a side, interleaved): see
/// docs/development.md's RX_VK_PART_PASS_END row. Every other driver keeps the parts cut by count until the lab has measured
/// it. RX_VK_PART_PASS_END=0: cut by count, as before; =1: the pass-end parts on any driver
inline bool part_pass_end_default(uint32_t driver_id) { return driver_id == kDriverNvidiaProprietary; }
/// RX_VK_EVENT_BARRIER: "late" the rule on any card; "full" (or any other value) as before; unset or empty: with the pass barrier's
/// game mode (pass_barrier::game: NVIDIA's driver unless RX_VK_PASS_BARRIER says otherwise)