From a2748d4796e08cce3e05253182e0ca84fd356a91 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 30 Jun 2020 15:31:30 -0400 Subject: [PATCH] pan/mdg: Handle GLSL_SAMPLER_DIM_MS Same as 2D. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/midgard_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 56918951ce5..4e8e14cd187 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -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; -- 2.30.2