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