blob: 3e5c6ed5c7aea741eecd3c6fba23ef558ec7c478 [file] [log] [blame]
SKIP: FAILED
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec2<i32>;
fn subgroupXor_473de8() -> vec2<i32> {
var arg_0 = vec2<i32>(1i);
var res : vec2<i32> = subgroupXor(arg_0);
return res;
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupXor_473de8();
}
Failed to generate: <dawn>/test/tint/builtins/gen/var/subgroupXor/473de8.wgsl:41:8 error: GLSL backend does not support extension 'subgroups'
enable subgroups;
^^^^^^^^^