blob: bf3b4807333bc334de3449919cc12b6f91a5db17 [file] [log] [blame]
SKIP: INVALID
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec3<u32>;
fn subgroupXor_468721() -> vec3<u32> {
var res : vec3<u32> = subgroupXor(vec3<u32>(1u));
return res;
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupXor_468721();
}
Failed to generate: <dawn>/test/tint/builtins/gen/literal/subgroupXor/468721.wgsl:41:8 error: GLSL backend does not support extension 'subgroups'
enable subgroups;
^^^^^^^^^