c1bf22b56f
While the MAX2 thing here is correct for some formats, it's not correct for all; for instance R8_SNORM doesn't need 32-bits here. This should enable some higersample-counts on some 8 and 16-bit formats on some Mali GPUs. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38968>