intel/fs: reuse set_predicate()

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26306>
This commit is contained in:
Lionel Landwerlin 2023-11-21 10:43:52 +02:00 committed by Marge Bot
parent 83a1657b6c
commit e22e88f8ce

View file

@ -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)));
}
}
}