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.

temporal.wgsl

Functions

temporal_sort_flip

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

temporal_sort_flop

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