blob: dd2b17cafce01becea93379cda67fe2b574da154 [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 arg_0 = vec3<i32>(1i);
var res : vec3<i32> = subgroupXor(arg_0);
return res;
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupXor_9c6e73();
}
Failed to generate: <dawn>/test/tint/builtins/gen/var/subgroupXor/9c6e73.wgsl:41:8 error: GLSL backend does not support extension 'subgroups'
enable subgroups;
^^^^^^^^^