intel/brw: Add comment to reg_unit()

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36448>
This commit is contained in:
José Roberto de Souza
2025-07-21 10:37:24 -07:00
committed by Marge Bot
parent 7981a18df2
commit 14386eb7e5
+3 -1
View File
@@ -247,13 +247,15 @@ ALU2(SUBB)
#undef ALU2
#undef ALU3
/* In Xe2+ each register is 64bytes/512bits long while older platforms it is
* 32bytes/256bits long.
*/
static inline unsigned
reg_unit(const struct intel_device_info *devinfo)
{
return devinfo->ver >= 20 ? 2 : 1;
}
/* Helpers for SEND instruction:
*/