Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++
423 B
Raw Blame
// Anti-aliasing pass 0 (#53): perceptual luma of the linear working colour.
// Every method detects edges on this texture only (see AntiAlias.hlsli).
#include "AntiAlias.hlsli"
Texture2D<float4> source : register(t0);
RWTexture2D<float> luma : register(u0);

[numthreads(8, 8, 1)]
void main(uint3 p : SV_DispatchThreadID) {
    if (p.x >= aaWidth || p.y >= aaHeight) return;
    luma[p.xy] = AaLumaOf(source[p.xy].rgb);
}