mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01: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>) {
|
|
}
|