pan/mdg: Handle GLSL_SAMPLER_DIM_MS
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 30 Jun 2020 19:31:30 +0000 (15:31 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 01:13:39 +0000 (01:13 +0000)
Same as 2D.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5782>

src/panfrost/midgard/midgard_compile.c

index 56918951ce53bf32bc36f1b2ffde20687544b198..4e8e14cd1874865c1b79107f20dc4b6defb79c84 100644 (file)
@@ -1931,6 +1931,7 @@ midgard_tex_format(enum glsl_sampler_dim dim)
                 return MALI_TEX_1D;
 
         case GLSL_SAMPLER_DIM_2D:
+        case GLSL_SAMPLER_DIM_MS:
         case GLSL_SAMPLER_DIM_EXTERNAL:
         case GLSL_SAMPLER_DIM_RECT:
                 return MALI_TEX_2D;