From: Alyssa Rosenzweig Date: Tue, 30 Jun 2020 19:31:30 +0000 (-0400) Subject: pan/mdg: Handle GLSL_SAMPLER_DIM_MS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2748d4796e08cce3e05253182e0ca84fd356a91;p=mesa.git pan/mdg: Handle GLSL_SAMPLER_DIM_MS Same as 2D. Signed-off-by: Alyssa Rosenzweig Part-of: --- 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;