mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
6 lines
149 B
WebGPU Shading Language
6 lines
149 B
WebGPU Shading Language
@group(0) @binding(0)
|
|
var tex: texture_storage_2d<rg32float, read>;
|
|
|
|
@compute @workgroup_size(1) fn csStore() {
|
|
_ = textureLoad(tex, vec2u(0));
|
|
} |