From cbf204069d00e99055a539e5f79566e2021fa8f4 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Wed, 6 May 2015 17:37:12 +0300 Subject: [PATCH] i965: Document brw_mask_reg(). Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_reg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) { -- 2.30.2