intel/fs: fix missing predicate on SEL instruction

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: d8dfd153c5 ("intel/fs: Make per-sample and coarse dispatch tri-state")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9381
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24236>
This commit is contained in:
Lionel Landwerlin
2023-07-19 16:55:21 +03:00
committed by Marge Bot
parent 7fe1657140
commit 46958bcb74

View File

@@ -597,7 +597,8 @@ fs_visitor::emit_interpolation_setup_gfx6()
this->pixel_z = abld.vgrf(BRW_REGISTER_TYPE_F);
/* We re-use the check_dynamic_msaa_flag() call from above */
abld.SEL(this->pixel_z, coarse_z, sample_z);
set_predicate(BRW_PREDICATE_NORMAL,
abld.SEL(this->pixel_z, coarse_z, sample_z));
break;
case BRW_ALWAYS: