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

@@ -40,6 +40,15 @@ struct VendorFixes {
// for these drivers (the AMD and Intel ones, and the mobile ones Eden runs on): shadow edges drawn as dashed lines without it.
// RX_VK_GATHER_OFFSET
bool gather_offset = false;
// ((Triforce, 11-30) Robust buffer access on (vk_main.cpp: robustBufferAccess and robustBufferAccess2), whatever the Debug
// tab's Robust buffers row says, for Intel's Windows driver. With it off (the row's default since 11-17) an Arc B570, an
// Arc Pro B70 and an Arc A770 lost the device at the title's first button press, all three in the frame the file select
// first draws, at the draws of its text (program 0ed5737e4ec64d5d, whose vertex stage reads each glyph's 224 bytes from
// a storage buffer by its instance, unchecked: the game's own global loads) or just before them; an Arc B580 with the row
// On went through the same frame and played on. Out-of-range buffer reads are dropped then, not followed to an unmapped
// address. Not in the translation (but for what fetch_bounds_buffers leaves to it, which the program cache's stamp
// counts, on these GPUs alone). RX_VK_ROBUST (vk_main.cpp's switch, read there before this) forces it either way
bool robust_buffers = false;
};
/// Which of the fixes the device needs (before the RX_VK_ switches: vendor_fixes_env)
@@ -75,6 +84,7 @@ inline VendorFixes vendor_fixes(const VendorFacts& f) {
default:
break;
}
x.robust_buffers = f.driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS;
return x;
}
@@ -86,6 +96,7 @@ template <class Get> void vendor_fixes_env(VendorFixes& x, Get get) {
over("RX_VK_FETCH_BOUNDS", x.fetch_bounds);
over("RX_VK_NAN_BITS", x.nan_bits);
over("RX_VK_GATHER_OFFSET", x.gather_offset);
over("RX_VK_ROBUST", x.robust_buffers);
}
} // namespace mkwvk