Module: Mesa Branch: main Commit: 46958bcb74f2766e0a613115559fd3b00b187fd6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=46958bcb74f2766e0a613115559fd3b00b187fd6
Author: Lionel Landwerlin <[email protected]> Date: Wed Jul 19 16:55:21 2023 +0300 intel/fs: fix missing predicate on SEL instruction Signed-off-by: Lionel Landwerlin <[email protected]> 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24236> --- src/intel/compiler/brw_fs_visitor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_fs_visitor.cpp b/src/intel/compiler/brw_fs_visitor.cpp index 352243d4d7d..0e372c2ac8c 100644 --- a/src/intel/compiler/brw_fs_visitor.cpp +++ b/src/intel/compiler/brw_fs_visitor.cpp @@ -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:
