Module: Mesa Branch: main Commit: e22e88f8cedef2fb4dee7ce276ed4efc3f47d84a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e22e88f8cedef2fb4dee7ce276ed4efc3f47d84a
Author: Lionel Landwerlin <[email protected]> Date: Tue Nov 21 10:43:52 2023 +0200 intel/fs: reuse set_predicate() Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26306> --- src/intel/compiler/brw_fs_visitor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/intel/compiler/brw_fs_visitor.cpp b/src/intel/compiler/brw_fs_visitor.cpp index c9d4c099827..974612f0e29 100644 --- a/src/intel/compiler/brw_fs_visitor.cpp +++ b/src/intel/compiler/brw_fs_visitor.cpp @@ -616,10 +616,10 @@ fs_visitor::emit_interpolation_setup_gfx6() } for (unsigned j = 0; j < dispatch_width / 8; j++) { - fs_inst *mov = + set_predicate( + BRW_PREDICATE_NORMAL, ubld.MOV(brw_vec8_grf(barys[j / 2] + (j % 2) * 2, 0), - brw_vec8_grf(sample_barys[j / 2] + (j % 2) * 2, 0)); - mov->predicate = BRW_PREDICATE_NORMAL; + brw_vec8_grf(sample_barys[j / 2] + (j % 2) * 2, 0))); } } }
