blob: 49ab8d820a4d3346ef67b28539767cb5e7de0e2e [file] [log] [blame]
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
fn subgroupAdd_3854ae() -> f32 {
var arg_0 = 1.0f;
var res : f32 = subgroupAdd(arg_0);
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupAdd_3854ae();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupAdd_3854ae();
}