intel/brw: Make fs_reg an alias of brw_reg

And rename the brw_reg_from_fs_reg() function to something more
appropriate.

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 22:27:44 -07:00
committed by Marge Bot
parent 69f4ed3102
commit fe46efa647
4 changed files with 18 additions and 20 deletions
-9
View File
@@ -538,15 +538,6 @@ fs_inst::can_change_types() const
!src[1].abs && !src[1].negate && src[1].file != ATTR));
}
/** Generic unset register constructor. */
fs_reg::fs_reg()
{
memset((void*)this, 0, sizeof(*this));
type = BRW_TYPE_UD;
stride = 1;
this->file = BAD_FILE;
}
bool
brw_reg::equals(const brw_reg &r) const
{