mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-23 17:49:57 -04:00
Triforce v0.7.0 "Sage Of Courage"
The 0.6 crashes after warps and area changes fixed (no write-back into memory the capture leaves out), invisible objects fixed (occlusion gate), DLSS frame generation flicker fixed, achievements, the renderer built with a play profile, faster translated game code, helper threads judged on settled scenes, memory, shader preparation, audio effects, launcher, controls and Linux fixes.
This commit is contained in:
@@ -13,8 +13,14 @@ def check_source():
|
||||
"""The eviction pass still uses the rule, and the switch that turns it off is still read"""
|
||||
src = (ROOT / "gpu/vk/vk_texture.cpp").read_text(encoding="utf-8")
|
||||
for needle in ('#include "target_overlap.h"', "target_overlap::shifted_over(", 'getenv("RX_VK_DEAD_TARGETS")',
|
||||
"const bool overwritten = shifted || drawn_over(tex);", "return !drawn_over(tex) && !drawn_over_shifted(tex);",
|
||||
'getenv("RX_VK_DEAD_MIN_UNUSED")', "if (tex->last_value > completed)"):
|
||||
"const bool overwritten = shifted || drawn_over(tex) || stale;", "return !drawn_over(tex) && !drawn_over_shifted(tex);",
|
||||
'getenv("RX_VK_DEAD_MIN_UNUSED")', "if (tex->last_value > completed)",
|
||||
# ((Triforce, 11-21, the performance audit's TEX-30) the others' parts added up, in the order of their starts;
|
||||
# one unused present; the switches back
|
||||
'static const bool dead_sum = !(getenv("RX_VK_DEAD_SUM") && !atoi(getenv("RX_VK_DEAD_SUM")));',
|
||||
"target_overlap::ShiftedOver over{lo, hi, tex->last_frame};",
|
||||
"over.add((*it)->gpu, (*it)->gpu + (*it)->guest_size, (*it)->last_written);", "if (over.an_eighth()) return true;",
|
||||
'getenv("RX_VK_DEAD_MIN_UNUSED") ? (uint64_t)std::max(1, atoi(getenv("RX_VK_DEAD_MIN_UNUSED"))) : 1;'):
|
||||
if needle not in src:
|
||||
raise SystemExit("vk_texture.cpp no longer has: " + needle)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user