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