blob: 6483ed9ba117b27bbdf82a0a7396b2d30c1a539e [file] [log] [blame]
SKIP: INVALID
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;
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupXor_9c6e73();
}
Failed to generate: <dawn>/test/tint/builtins/gen/literal/subgroupXor/9c6e73.wgsl:41:8 error: GLSL backend does not support extension 'subgroups'
enable subgroups;
^^^^^^^^^