mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
7 lines
238 B
WebGPU Shading Language
7 lines
238 B
WebGPU Shading Language
[[group(0), binding(0)]] var tex: texture_2d<f32>;
|
|
[[group(0), binding(1)]] var tex_storage: texture_storage_2d<rgba8uint, write>;
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
fn main([[builtin(global_invocation_id)]] global_id: vec3<u32>) {
|
|
}
|