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