From: Jonathan Marek Date: Fri, 6 Sep 2019 13:30:25 +0000 (-0400) Subject: st/mesa: run st_nir_lower_tex_src_plane for lowered xyuv/ayuv X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=222e127e3934d27319b2547be68955eb24cf19c7;p=mesa.git st/mesa: run st_nir_lower_tex_src_plane for lowered xyuv/ayuv Has the effect of removing the nir_tex_src_plane for these formats too. Signed-off-by: Jonathan Marek Reviewed-by: Christian Gmeiner Tested-by: Marge Bot Part-of: --- diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index d441ac777ab..bbf639ac180 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -1249,7 +1249,8 @@ st_create_fp_variant(struct st_context *st, /* This pass needs to happen *after* nir_lower_sampler */ if (unlikely(key->external.lower_nv12 || key->external.lower_iyuv || - key->external.lower_xy_uxvx || key->external.lower_yx_xuxv)) { + key->external.lower_xy_uxvx || key->external.lower_yx_xuxv || + key->external.lower_ayuv || key->external.lower_xyuv)) { NIR_PASS_V(state.ir.nir, st_nir_lower_tex_src_plane, ~stfp->Base.SamplersUsed, key->external.lower_nv12 || key->external.lower_xy_uxvx ||