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