mirror of
https://git.triforceproject.com/triforce/source
synced 2026-12-01 05:18:50 -04:00
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:
@@ -231,6 +231,8 @@ int main() {
|
||||
CHECK(query_used_on(nullptr, "0", "1") && !query_used_on(nullptr, "0", "0") && !query_used_on("0", "0", "2"));
|
||||
CHECK(keep_all_small_pc(true, 15731 * MB, true) && !keep_all_small_pc(false, 15731 * MB, true));
|
||||
CHECK(!keep_all_small_pc(true, 15731 * MB, false) && !keep_all_small_pc(true, 20 * GB, true) && !keep_all_small_pc(true, 0, true));
|
||||
// ((11-30) not on AMD's driver: the RX 580s of 16 GB kept 16,963 pipelines and ran out of RAM)
|
||||
CHECK(!keep_all_small_pc(true, 15731 * MB, true, true) && keep_all_small_pc(true, 15731 * MB, true, false));
|
||||
// (11-22: the capture's spares held to 32 MB on a small card or a PC of under 20 GB; a 16 GB PC reports ~15.7 GB)
|
||||
CHECK(spare_capped(true, 64 * GB) && spare_capped(false, 15731 * MB) && spare_capped(false, 20 * GB - 1));
|
||||
CHECK(!spare_capped(false, 20 * GB) && !spare_capped(false, 32 * GB) && !spare_capped(false, 0));
|
||||
@@ -283,7 +285,10 @@ def check_source():
|
||||
raise SystemExit("the precompile's keep goes by the PC's total RAM, not the RAM the game can have")
|
||||
if "mem_parts::own_for_keep(ws, cache_read, amd)" not in keep or "pcache_read_ws.load()" not in keep:
|
||||
raise SystemExit("the precompile's keep counts the pipeline cache's read as room for the pipelines")
|
||||
small = "if (!e && mem_parts::keep_all_small_pc(discrete, ms.ullTotalPhys, query_on)) {"
|
||||
small = "if (!e && mem_parts::keep_all_small_pc(discrete, ms.ullTotalPhys, query_on, amd)) {"
|
||||
if "const bool amd = dev.props.vendorID == 0x1002;" not in keep or \
|
||||
keep.index("const bool amd = dev.props.vendorID == 0x1002;") > keep.index(small):
|
||||
raise SystemExit("the small PC's rule is not told whether the driver is AMD's")
|
||||
if small not in keep or "VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU" not in keep or \
|
||||
not keep.index("allowed < (6656ull << 20)") < keep.index(small) < keep.index("mem_parts::keep_all_pipelines("):
|
||||
raise SystemExit("the precompile does not keep every pipeline on a discrete GPU in a PC of under 20 GB (after the card's "
|
||||
|
||||
Reference in New Issue
Block a user