blob: 0bbfaeab89b24dc369584fc4dd111181d6b72303 [file] [log] [blame] [edit]
SKIP: FAILED
RWByteAddressBuffer output : register(u0);
void main_inner(uint subgroup_invocation_id, uint subgroup_size) {
output.Store((4u * subgroup_invocation_id), asuint(subgroup_size));
}
[numthreads(1, 1, 1)]
void main() {
main_inner(WaveGetLaneIndex(), WaveGetLaneCount());
return;
}