blob: c4e9adb281fd115ffa8a090c7edcb8ca91da2cf4 [file] [log] [blame]
SKIP: FAILED
enable chromium_experimental_subgroups;
@group(0) @binding(0) var<storage, read_write> output : array<u32>;
@compute @workgroup_size(1)
fn main(@builtin(subgroup_invocation_id) subgroup_invocation_id : u32, @builtin(subgroup_size) subgroup_size : u32) {
output[subgroup_invocation_id] = subgroup_size;
}
Failed to generate: shader_io/compute_subgroup_builtins.wgsl:1:8 error: HLSL backend does not support extension 'chromium_experimental_subgroups'
enable chromium_experimental_subgroups;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^