mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
Triforce v0.5.0
In-game mods (GameBanana browser, search and installs, with the Mask Salesman), code-patch and cheat mods, the devs' test18 to test45 work (full performance overlay, frame pacing on, steady frame rate, save export and import, bug capture, new options rows, Setup's Mods page and Add to Steam), occlusion queries and new defaults, Auto resolution that scales, replay helper threads and robust buffers off by default, the options in sections.
This commit is contained in:
@@ -64,6 +64,8 @@ static const struct {
|
||||
{3840, 2160, 0, 768, NULL, 1728},
|
||||
{5120, 2880, 0, 305, NULL, 900},
|
||||
{5120, 2880, 0, 305, "1220", 1220},
|
||||
{5120, 2160, 0, 305, NULL, 900}, /* ((Triforce) the 5120 x 2160 output: 915 MiB scaled, kept to 900 as 5120 x 2880's) */
|
||||
{5120, 2160, 0, 305, "1000", 1000},
|
||||
};
|
||||
int main(void) {
|
||||
int failed = 0;
|
||||
@@ -90,6 +92,8 @@ int main(void) {
|
||||
if (hos_rt_pool_size(305 * MIB) != 900 * MIB) { fprintf(stderr, "RGBA16F scene at 5120x2880: not 900 MiB\n"); failed = 1; }
|
||||
override = "1028";
|
||||
if (hos_rt_pool_size(305 * MIB) != 1028 * MIB) { fprintf(stderr, "RGBA16F scene at 5120x2880: the override not kept\n"); failed = 1; }
|
||||
output_width = 5120; output_height = 2160; override = NULL;
|
||||
if (hos_rt_pool_size(305 * MIB) != 900 * MIB) { fprintf(stderr, "RGBA16F scene at 5120x2160: not 900 MiB\n"); failed = 1; }
|
||||
output_width = 3840; output_height = 2160; override = NULL;
|
||||
if (hos_rt_pool_size(305 * MIB) != (687 + 128) * MIB) { fprintf(stderr, "RGBA16F scene at 3840x2160: not 815 MiB\n"); failed = 1; }
|
||||
return failed;
|
||||
@@ -105,7 +109,7 @@ int main(void) {
|
||||
source.write_text(fixture)
|
||||
subprocess.run([compiler, "-std=c11", "-O2", str(source), "-o", str(binary)], check=True)
|
||||
subprocess.run([str(binary)], check=True, timeout=5)
|
||||
print("PASS: 512 MiB floor, 4K/ultrawide growth and explicit overrides, the 5K output's 900 MiB (14 cases), "
|
||||
print("PASS: 512 MiB floor, 4K/ultrawide growth and explicit overrides, the 5120-wide outputs' 900 MiB (16 cases), "
|
||||
"an RGBA16F scene's 128 MiB more, and the 5K output's 900 MiB with it")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user