dawn-cmake/test/tint/builtins/workgroupUniformLoad/bool.wgsl

6 lines
82 B
WebGPU Shading Language

var<workgroup> v : bool;
fn foo() -> bool {
return workgroupUniformLoad(&v);
}