vrend: limit work group count
AMD and Intel report a work groups coung of UNIT32_MAX for MAX_COMPUTE_WORK_GROUP_COUNT[0] and at least UINT16_MAX (which is the required minimum) for the other dimensions. However, actually using high values for the work group counts result in a GPU reset on AMD and a hard crash on Intel, therefore report only the required minimum UINT16_MAX.
Closes: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/505
Signed-off-by: Gert Wollny gert.wollny@collabora.com