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,19 @@
#version 450
// (Triforce) SMAA pass 2 (gpu/vk/vk_aa.cpp): blending weights from the edges, with SMAA's area and search lookup textures
// (third_party/smaa AreaTex.h, SearchTex.h). After NX2navi's shaders/smaa_weight.comp.
#extension GL_GOOGLE_include_directive : require
#include "smaa_setup.glsl"
layout(binding = 0) uniform sampler2D edges; // (linear filtering)
layout(binding = 1) uniform sampler2D area; // (linear filtering)
layout(binding = 2) uniform sampler2D search; // (nearest)
layout(binding = 3, rgba8) uniform writeonly image2D weights;
void main() {
ivec2 p;
vec2 uv;
if (!smaa_pixel(p, uv)) return;
vec2 pix;
vec4 offset[3];
SMAABlendingWeightCalculationVS(uv, pix, offset);
imageStore(weights, p, SMAABlendingWeightCalculationPS(uv, pix, offset, edges, area, search, vec4(0.0)));
}