dawn-cmake/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected....

9 lines
113 B
WebGPU Shading Language

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