nv50: use the no-mipmap texture type for 2d ms views
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 10 Jun 2021 04:20:04 +0000 (00:20 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 12 Jun 2021 04:35:59 +0000 (04:35 +0000)
commitaa14851340f1a3b5cda9275989f20acff039870e
treef0ba33a2658fefdc24ec07382ca4acb77385a7ad
parent5e4ff4ef1ff3330b1f49249bf8300dd4b7be0e14
nv50: use the no-mipmap texture type for 2d ms views

There are size restrictions on 2D images which can't accommodate the
*full* 2D MSAA image. There's no way to make it work for 2D MSAA Array
images, but at least for the non-array variants, we can use the
no-mipmap variant which has a larger maximum size.

Fixes dEQP-GLES31.functional.shaders.builtin_functions.texture_size.*2d

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11285>
src/gallium/drivers/nouveau/nv50/nv50_tex.c