From 63a8722c6aa46a44974127db56bd4ad2641c40f9 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 30 Jun 2020 15:32:01 -0400 Subject: [PATCH] pan/mdg: Handle nir_texop_txf_ms Same as nir_texop_txf, the special case where sample = 0. 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 ad9d684662c..9f365d0c69a 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -2184,6 +2184,7 @@ emit_tex(compiler_context *ctx, nir_tex_instr *instr) emit_texop_native(ctx, instr, TEXTURE_OP_LOD); break; case nir_texop_txf: + case nir_texop_txf_ms: emit_texop_native(ctx, instr, TEXTURE_OP_TEXEL_FETCH); break; case nir_texop_txs: -- 2.30.2