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