projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95774ca
)
i965: Document brw_mask_reg().
author
Francisco Jerez
<currojerez@riseup.net>
Wed, 6 May 2015 14:37:12 +0000
(17:37 +0300)
committer
Francisco Jerez
<currojerez@riseup.net>
Tue, 12 May 2015 12:47:56 +0000
(15:47 +0300)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_reg.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_reg.h
b/src/mesa/drivers/dri/i965/brw_reg.h
index c03a8aed7961fc4c59edeac9795a77da794761c5..81a932063a734f4c44fd7c671df65810b5b03d18 100644
(file)
--- 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)
{