Module: Mesa
Branch: master
Commit: cbf204069d00e99055a539e5f79566e2021fa8f4
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbf204069d00e99055a539e5f79566e2021fa8f4

Author: Francisco Jerez <[email protected]>
Date:   Wed May  6 17:37:12 2015 +0300

i965: Document brw_mask_reg().

Reviewed-by: Matt Turner <[email protected]>

---

 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 c03a8ae..81a9320 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)
 {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to