blob: cab4b430d8c6563c15d4f99f718958fea3f3cabe [file] [log] [blame]
SKIP: FAILED
@group(0) @binding(0) var<storage, read_write> output : array<u32>;
struct ComputeInputs {
@builtin(subgroup_invocation_id)
subgroup_invocation_id : u32,
@builtin(subgroup_size)
subgroup_size : u32,
}
@compute @workgroup_size(1)
fn main(inputs : ComputeInputs) {
output[inputs.subgroup_invocation_id] = inputs.subgroup_size;
}
Failed to generate: error: unsupported builtin