blob: 830f68fe42c1b05f4588023f0c7d1aab14e13706 [file] [log] [blame]
SKIP: FAILED
RWByteAddressBuffer output : register(u0);
struct ComputeInputs {
uint subgroup_invocation_id;
uint subgroup_size;
};
void main_inner(ComputeInputs inputs) {
output.Store((4u * inputs.subgroup_invocation_id), asuint(inputs.subgroup_size));
}
[numthreads(1, 1, 1)]
void main() {
const ComputeInputs tint_symbol = {WaveGetLaneIndex(), WaveGetLaneCount()};
main_inner(tint_symbol);
return;
}