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

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