blob: 4a9163859c173a5f075744283dfb81cfe41e17d1 [file] [log] [blame]
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec3<i32>;
fn subgroupXor_9c6e73() -> vec3<i32> {
var res : vec3<i32> = subgroupXor(vec3<i32>(1i));
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupXor_9c6e73();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupXor_9c6e73();
}