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