intel/fs: UNDEF fixup_nomask_control_flow temp register
Ensure that the register's liveness is not expanded to loops. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21853>
This commit is contained in:

committed by
Marge Bot

parent
362a07db3a
commit
adb8c30436
@@ -6445,10 +6445,12 @@ fs_visitor::fixup_nomask_control_flow()
|
||||
*/
|
||||
const bool save_flag = flag_liveout &
|
||||
flag_mask(flag, dispatch_width / 8);
|
||||
const fs_reg tmp = ubld.group(1, 0).vgrf(flag.type);
|
||||
const fs_reg tmp = ubld.group(8, 0).vgrf(flag.type);
|
||||
|
||||
if (save_flag)
|
||||
if (save_flag) {
|
||||
ubld.group(8, 0).UNDEF(tmp);
|
||||
ubld.group(1, 0).MOV(tmp, flag);
|
||||
}
|
||||
|
||||
ubld.emit(FS_OPCODE_LOAD_LIVE_CHANNELS);
|
||||
|
||||
|
Reference in New Issue
Block a user