blob: eee7fa5d8d5c5cbc9d7e5535fd85627c64194597 [file] [log] [blame]
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec4<u32>;
fn subgroupAdd_fbc357() -> vec4<u32> {
var res : vec4<u32> = subgroupAdd(vec4<u32>(1u));
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupAdd_fbc357();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupAdd_fbc357();
}