blob: 30337b9d3cf2c15d0d7bad9aa31e4958ee264cfc [file] [log] [blame]
enable subgroups;
enable f16;
@group(0) @binding(0) var<storage, read_write> prevent_dce : f16;
fn subgroupShuffleXor_d224ab() -> f16 {
var arg_0 = 1.0h;
var arg_1 = 1u;
var res : f16 = subgroupShuffleXor(arg_0, arg_1);
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupShuffleXor_d224ab();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupShuffleXor_d224ab();
}