From: Francisco Jerez Date: Wed, 6 May 2015 14:37:12 +0000 (+0300) Subject: i965: Document brw_mask_reg(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbf204069d00e99055a539e5f79566e2021fa8f4;p=mesa.git i965: Document brw_mask_reg(). Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h index c03a8aed796..81a932063a7 100644 --- a/src/mesa/drivers/dri/i965/brw_reg.h +++ b/src/mesa/drivers/dri/i965/brw_reg.h @@ -778,7 +778,11 @@ brw_flag_reg(int reg, int subreg) BRW_ARF_FLAG + reg, subreg); } - +/** + * Return the mask register present in Gen4-5, or the related register present + * in Gen7.5 and later hardware referred to as "channel enable" register in + * the documentation. + */ static inline struct brw_reg brw_mask_reg(unsigned subnr) {