diff --git a/src/intel/compiler/brw_eu.h b/src/intel/compiler/brw_eu.h index df21a66157e..bf5ff3b0021 100644 --- a/src/intel/compiler/brw_eu.h +++ b/src/intel/compiler/brw_eu.h @@ -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: */