blob: 3df4e19a9eb7823561d5518b709a8842eb596814 [file] [log] [blame]
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : i32;
fn subgroupInclusiveAdd_1b7680() -> i32 {
var res : i32 = subgroupInclusiveAdd(1i);
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupInclusiveAdd_1b7680();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupInclusiveAdd_1b7680();
}