blob: af019cb704c54846b733fa6561c2ebc4aeeee736 [file] [log] [blame]
enable subgroups;
enable subgroups_f16;
enable f16;
@group(0) @binding(0) var<storage, read_write> prevent_dce : f16;
fn subgroupInclusiveAdd_dde86f() -> f16 {
var res : f16 = subgroupInclusiveAdd(1.0h);
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupInclusiveAdd_dde86f();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupInclusiveAdd_dde86f();
}