From 1a53bed41cffa1f44f2253bc98f2f7f8acb76cc2 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 16 Dec 2019 17:13:46 -0500 Subject: [PATCH] pan/midgard: Set .shadow for shadow samplers Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso 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 504513340d6..c28a69a4291 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -1725,6 +1725,7 @@ emit_texop_native(compiler_context *ctx, nir_tex_instr *instr, .out_full = 1, .sampler_type = midgard_sampler_type(instr->dest_type), + .shadow = instr->is_shadow, } }; -- 2.30.2