blob: 440b8a7c56950bb4a15f57857a64ed9f6c0e324f [file] [log] [blame]
SKIP: INVALID
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec4<f32>;
fn subgroupShuffle_85587b() -> vec4<f32> {
var res : vec4<f32> = subgroupShuffle(vec4<f32>(1.0f), 1u);
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupShuffle_85587b();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupShuffle_85587b();
}
Failed to generate: <dawn>/test/tint/builtins/gen/literal/subgroupShuffle/85587b.wgsl:41:8 error: GLSL backend does not support extension 'subgroups'
enable subgroups;
^^^^^^^^^
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec4<f32>;
fn subgroupShuffle_85587b() -> vec4<f32> {
var res : vec4<f32> = subgroupShuffle(vec4<f32>(1.0f), 1u);
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupShuffle_85587b();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupShuffle_85587b();
}
Failed to generate: <dawn>/test/tint/builtins/gen/literal/subgroupShuffle/85587b.wgsl:41:8 error: GLSL backend does not support extension 'subgroups'
enable subgroups;
^^^^^^^^^