pan/midgard: Set .shadow for shadow samplers

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3125>
This commit is contained in:
Alyssa Rosenzweig
2019-12-16 17:13:46 -05:00
committed by Marge Bot
parent d183f84585
commit 1a53bed41c

View File

@@ -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,
}
};