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.

timestamp_normalization.wgsl

Constants

TIMESTAMP_PERIOD_MULTIPLY

#
const TIMESTAMP_PERIOD_MULTIPLY: u32 = 1

TIMESTAMP_PERIOD_SHIFT

#
const TIMESTAMP_PERIOD_SHIFT: u32 = 0

Bindings

timestamps

#
@group(0)
@binding(0)
var<storage, read_write> timestamps: array<Uint64>

Structures

ImmediateData

#
struct ImmediateData {
timestamp_offset: u32 ,
timestamp_count: u32 ,
}

Functions

main

#
@compute
Runs custom parallel code on the GPU, not limited to graphics
@workgroup_size(64)
Defines the size of a thread group. One to three numbers: width (x), height (y), and depth (z). Missing values default to 1
fn main (
@builtin(global_invocation_id)
id: vec3u
)