Mesa (master): i965: Document brw_mask_reg().
Francisco Jerez
currojerez at kemper.freedesktop.org
Tue May 12 12:50:11 UTC 2015
Module: Mesa
Branch: master
Commit: cbf204069d00e99055a539e5f79566e2021fa8f4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbf204069d00e99055a539e5f79566e2021fa8f4
Author: Francisco Jerez <currojerez at riseup.net>
Date: Wed May 6 17:37:12 2015 +0300
i965: Document brw_mask_reg().
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
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)
{
More information about the mesa-commit
mailing list