26867670b2
Much of the kernel code implicitly depends on a maximum work dimension of 3, and in practice, gallium will never give a grid dimension of less than 3, constraining the value to a constant. v2: use a const for max dimension instead of a `min` call Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: @LingMan Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34167>