From: Alyssa Rosenzweig Date: Mon, 16 Dec 2019 22:13:46 +0000 (-0500) Subject: pan/midgard: Set .shadow for shadow samplers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a53bed41cffa1f44f2253bc98f2f7f8acb76cc2;p=mesa.git pan/midgard: Set .shadow for shadow samplers Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso Part-of: --- 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, } };