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

19
host/video_av1.h Normal file
View File

@@ -0,0 +1,19 @@
/* (Triforce, 11-22, the performance audit's IO-32, after Source A's) Which AV1 decoder a movie gets first on Windows
(nn_video.c dec_init_sized).
The game's movies are 1080p AV1. Windows decoded them with Media Foundation first (the AV1 Video Extension, where the PC
has it), and that path takes the extension's synchronous decoder with no D3D manager: software decoding on every GPU.
dav1d, through the FFmpeg the build links, was the fallback for a PC without the extension, and what Linux always
runs. It goes first now where that FFmpeg has it; Media Foundation stays the decoder of an FFmpeg without libdav1d,
and the fallback when libdav1d does not open. HOS_AV1=mf: Media Foundation first, as before.
The rule alone, no decoder: tests/test_video_av1_order.py compiles it. */
#pragma once
#include <string.h>
/* 1 when Media Foundation is tried before libdav1d. hos_av1: HOS_AV1's value, NULL when unset; have_dav1d: the FFmpeg
this build links has libdav1d. (HOS_AV1=dav1d, the old way to ask for dav1d first, is the default now) */
static inline int video_av1_mf_first(const char *hos_av1, int have_dav1d) {
if (!have_dav1d) return 1;
return hos_av1 != NULL && !strcmp(hos_av1, "mf");
}