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 <jonathan@marek.ca> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1896> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1896>
This commit is contained in:

committed by
Marge Bot

parent
a554b45d73
commit
222e127e39
@@ -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 ||
|
||||
|
Reference in New Issue
Block a user