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