Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.

Constants

FSR_RCAS_LIMIT

#
const FSR_RCAS_LIMIT: AbstractFloat = 0.1875

peakC

#
const peakC: vec2<f32> = vec2<f32>(10.0, -40.0)

Bindings

screenTexture

#
@group(0)
@binding(0)
var screenTexture: texture_2d<f32>

samp

#
@group(0)
@binding(1)
var samp: sampler

uniforms

#
@group(0)
@binding(2)
var<uniform> uniforms: CASUniforms

Structures

CASUniforms

#
struct CASUniforms {
sharpness: f32 ,
}

Functions

fragment

#
@fragment
Calculates the final color of each pixel on the screen
fn fragment (
in: FullscreenVertexOutput
) ->
@location(0)
vec4<f32>
Contents