blob: 2fadb5732e0726824ebf97040db06b374d36ec9a [file] [log] [blame]
struct main_inputs {
uint tint_local_index : SV_GroupIndex;
};
groupshared int i;
void main_inner(uint tint_local_index) {
if ((tint_local_index == 0u)) {
i = int(0);
}
GroupMemoryBarrierWithGroupSync();
i = int(123);
int u = (i + int(1));
}
[numthreads(1, 1, 1)]
void main(main_inputs inputs) {
main_inner(inputs.tint_local_index);
}