From 46958bcb74f2766e0a613115559fd3b00b187fd6 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 19 Jul 2023 16:55:21 +0300 Subject: [PATCH] intel/fs: fix missing predicate on SEL instruction Signed-off-by: Lionel Landwerlin 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 Part-of: --- 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 352243d..0e372c2 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: -- 2.7.4