When emitting fixup code, we might not have gl_InvocationID yet.
Multiple patches can run in the same workgroup when using multi-patch mode, so we need to allocate enough storage to avoid false sharing.