Triforce v0.8.0

Evil HD (SMAA Ultra, 16x filtering, full textures, ambient occlusion with bounce light, sunlight shafts, foliage drawn 4x as far, the remastered texture pack's loader and the launcher's download of it), FSR 3.1 frame generation for every GPU, Intel XeSS, FSR 4 model choice, ReShade presets, Auto (this PC), HUD placement, the options menu in 13 languages, a second input for every control, hold to toggle, DualSense speaker and haptics, NFC from the player's own dumps, the above-60 fps game fixes, the Debug tab's flight and Inventory fixes, the launcher's full settings, and over 250 fixes.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-25 10:21:32 -06:00
parent 861702476a
commit 4fa4f9188b
881 changed files with 179428 additions and 15581 deletions

View File

@@ -122,4 +122,19 @@ inline bool subgroup_barrier(const uint32_t* code, size_t words) {
}
return resolved != n_scopes; // (a scope that is no plain constant: a doubt)
}
// (Triforce) Too big for Mesa's Intel compiler held to 32 lanes (vk_draw.cpp compute_refused). Its time goes to register
// allocation: at SIMD32 an Iris Xe thread has 32 registers a lane, and a program needing far more spills them in rounds, each
// one allocating the whole program again. Two of the game's compute programs are about 12,400 phis each (045df6f2e27d05e6 and
// 184791cd4644065f: 2.2 MB of SPIR-V, one function with 5,700 small branches); every other one held to 32 lanes has 2,650
// phis or fewer. Measured alone (i9-13900H, Iris Xe, Mesa 26.2.4): 045df6f2e27d05e6 was at 17.6 GB and not done after 30
// minutes held to 32 lanes; the worst below the limit, 7a548525c239b91b (2,534 phis), took 531 s and 7.6 GB. Their dispatches
// are left out, as a program the driver refuses
constexpr uint32_t kIntelPhiLimit = 6000; // (between the 2,650 that build in seconds to minutes and the 12,300 that never did)
/// A compute stage not given to the driver: Mesa's Intel, held to 32 lanes, over the limit (0: no limit). The mesh
/// fallback's stages are not judged here (fallback_size_policy.h)
inline bool too_big(bool intel_mesa, bool pinned, uint32_t phis, uint32_t limit) {
return intel_mesa && pinned && limit && phis > limit;
}
} // namespace compute_pin