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:
ruckus7382sfgsgdf
2026-11-22 11:59:06 -06:00
parent 70c210cee1
commit e6f2f248f2
529 changed files with 55958 additions and 1898 deletions

View File

@@ -27,18 +27,18 @@ def main():
a = p.parse_args()
source = (ROOT / "gpu" / "vk" / "vk_draw.cpp").read_text(encoding="utf-8")
haz = block(source, "uint16_t draw_hazards(")
if "for (const Texture* t : pass().sampled)" in haz:
if "for (const Texture* t : pass().sampled)" in haz or "for (const Texture* t : ps.sampled)" in haz:
raise SystemExit("a pass hazard walks every texture sampled so far")
if "writes_sampled_target(" not in haz:
raise SystemExit("a pass hazard ignores the targets earlier draws sampled")
if haz.index("gfx_sampled") > haz.index("writes_sampled_target("):
raise SystemExit("a draw's own samples are treated as an earlier draw's")
begin = block(source, "void begin_pass(")
clear = begin.index("pass().sampled.clear()")
clear = begin.index("ps.sampled.clear()")
if "sampled_targets = 0" not in begin[clear:clear + 80]:
raise SystemExit("a new pass keeps the targets earlier draws sampled")
ins = source.index("pass().sampled.push_back(t);")
wrote = source.index("pass().written |= writes;", ins)
ins = source.index("ps.sampled.push_back(t);")
wrote = source.index("ps.written |= writes;", ins)
if "sampled_targets" not in source[ins:wrote]:
raise SystemExit("a sampled target is invisible to the next draw")
fn = block(source, "bool writes_sampled_target(")