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:
ruckus7382sfgsgdf
2026-11-17 22:40:50 -06:00
parent 93eeb714c2
commit 6f338c8f56
600 changed files with 116254 additions and 2522 deletions

View File

@@ -0,0 +1,15 @@
#version 450
// (Triforce) half-size luma of a frame (each texel the mean of 2x2 pixels), for the fine vectors (fg_fine_flow.comp)
layout(local_size_x = 8, local_size_y = 8) in;
layout(binding = 0) uniform sampler2D src;
layout(binding = 1, r16f) uniform writeonly image2D dst;
void main() {
const ivec2 g = ivec2(gl_GlobalInvocationID.xy);
if (any(greaterThanEqual(g, imageSize(dst)))) return;
const ivec2 s = textureSize(src, 0) - 1;
float sum = 0.0;
for (int y = 0; y < 2; y++)
for (int x = 0; x < 2; x++)
sum += dot(texelFetch(src, min(g * 2 + ivec2(x, y), s), 0).rgb, vec3(0.299, 0.587, 0.114));
imageStore(dst, g, vec4(sum / 4.0));
}