Shader Explorer
Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

resolve_dlss_rr_textures.wgsl

Bindings

gbuffer

#
@group(1)
@binding(7)
var gbuffer: texture_2d<u32>

view

#
@group(1)
@binding(12)
var<uniform> view: View

diffuse_albedo

#
@group(2)
@binding(0)
var diffuse_albedo: texture_storage_2d<rgba8unorm, write>

specular_albedo

#
@group(2)
@binding(1)
var specular_albedo: texture_storage_2d<rgba8unorm, write>

normal_roughness

#
@group(2)
@binding(2)
var normal_roughness: texture_storage_2d<rgba16float, write>

specular_motion_vectors

#
@group(2)
@binding(3)
var specular_motion_vectors: texture_storage_2d<rg16float, write>

Functions

resolve_dlss_rr_textures

#
@compute
Runs custom parallel code on the GPU, not limited to graphics
@workgroup_size(8, 8, 1)
Defines the size of a thread group. One to three numbers: width (x), height (y), and depth (z). Missing values default to 1
fn resolve_dlss_rr_textures (
@builtin(global_invocation_id)
global_id: vec3<u32>
)