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

9 lines
153 B
WebGPU Shading Language

var<workgroup> a : i32;
var<workgroup> b : i32;
fn foo() {
for(var i = 0; (i < workgroupUniformLoad(&(a))); i += workgroupUniformLoad(&(b))) {
}
}