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.
Star

Bindings

gbuffer

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

depth_buffer

#
@group(1)
@binding(8)
var depth_buffer: texture_depth_2d

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>
)

env_brdf_approx2

#
fn env_brdf_approx2 (
specular_color: vec3<f32>,
alpha: f32,
N: vec3<f32>,
V: vec3<f32>
) -> vec3<f32>
Contents