intel/brw: Replace uses of fs_reg with brw_reg

And remove the fs_reg alias.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29791>
This commit is contained in:
Caio Oliveira
2024-06-18 23:42:59 -07:00
committed by Marge Bot
parent fe46efa647
commit 3670c24740
38 changed files with 1626 additions and 1629 deletions
+3 -3
View File
@@ -103,7 +103,7 @@ brw_fs_workaround_memory_fence_before_eot(fs_visitor &s)
const fs_builder ibld(&s, block, inst);
const fs_builder ubld = ibld.exec_all().group(1, 0);
fs_reg dst = ubld.vgrf(BRW_TYPE_UD);
brw_reg dst = ubld.vgrf(BRW_TYPE_UD);
fs_inst *dummy_fence = ubld.emit(SHADER_OPCODE_MEMORY_FENCE,
dst, brw_vec8_grf(0, 0),
/* commit enable */ brw_imm_ud(1),
@@ -230,7 +230,7 @@ brw_fs_workaround_nomask_control_flow(fs_visitor &s)
*/
const fs_builder ubld = fs_builder(&s, block, inst)
.exec_all().group(s.dispatch_width, 0);
const fs_reg flag = retype(brw_flag_reg(0, 0),
const brw_reg flag = retype(brw_flag_reg(0, 0),
BRW_TYPE_UD);
/* Due to the lack of flag register allocation we need to save
@@ -238,7 +238,7 @@ brw_fs_workaround_nomask_control_flow(fs_visitor &s)
*/
const bool save_flag = flag_liveout &
brw_fs_flag_mask(flag, s.dispatch_width / 8);
const fs_reg tmp = ubld.group(8, 0).vgrf(flag.type);
const brw_reg tmp = ubld.group(8, 0).vgrf(flag.type);
if (save_flag) {
ubld.group(8, 0).UNDEF(tmp);