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

@@ -4,7 +4,7 @@ import subprocess
import tempfile
from pathlib import Path
RUN_ALL_ARGS = ["--cxx", "g++"]
RUN_ALL_ARGS = ["--cxx", "{cxx}"]
ROOT = Path(__file__).resolve().parents[1]
@@ -12,10 +12,20 @@ ROOT = Path(__file__).resolve().parents[1]
def check_source():
"""The texture setup still asks the rule, and the switch that overrides it is still read"""
src = (ROOT / "gpu/vk/vk_texture.cpp").read_text(encoding="utf-8")
for needle in ('#include "astc_bc_policy.h"', "astc_bc_policy::all_by_vram(allowed)", 'getenv("RX_VK_ASTC_BC_ALL")',
"(bw * bh >= 36 || all) ? low : 64ull << 20"):
# ((Triforce, 11-22, the performance audit's TEX-12) the rule is asked with the card's type; an unknown allowance is 0
for needle in ('#include "astc_bc_policy.h"', "astc_bc_policy::all(allowed, integrated)", 'getenv("RX_VK_ASTC_BC_ALL")',
"(bw * bh >= 36 || all) ? low : 64ull << 20",
"if (!vram_usage(&used, &allowed)) allowed = 0;",
"const bool integrated = dev.props.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU;\n"
" const bool small = astc_bc_policy::all(allowed, integrated);",
"if (const char* e = getenv(\"RX_VK_ASTC_BC_ALL\")) return e[0] == '1';\n uint64_t used = 0, allowed = 0;"):
if needle not in src:
raise SystemExit("vk_texture.cpp no longer has: " + needle)
if "astc_bc_policy::all_by_vram(" in src:
raise SystemExit("vk_texture.cpp still asks the rule by the allowance alone: an integrated GPU allowed 8.5 GB or more is missed")
docs = (ROOT / "docs/development.md").read_text(encoding="utf-8")
if "| `RX_VK_ASTC_BC_ALL=1` or `0` |" not in docs:
raise SystemExit("docs/development.md: RX_VK_ASTC_BC_ALL is not in the switches table")
def main():