summaryrefslogtreecommitdiff
path: root/shared-core/r300_reg.h
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-05-13 16:18:54 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-05-13 16:18:54 +0000
commitca725bba8472d5d94bcb7414b510d7d3027cbb1c (patch)
treecb69531ac629b1245def4bfded51d2ddabd76d76 /shared-core/r300_reg.h
parentc6ff0caaa3e8f61f7c19950913b1ce731f979ce3 (diff)
r300: Added my comments into r300_reg.h.
Diffstat (limited to 'shared-core/r300_reg.h')
-rw-r--r--shared-core/r300_reg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-core/r300_reg.h b/shared-core/r300_reg.h
index 8ff362b9..0a31f0b9 100644
--- a/shared-core/r300_reg.h
+++ b/shared-core/r300_reg.h
@@ -673,6 +673,11 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
/* Special handling for color: When the fragment program uses color,
* the ROUTE_0_COLOR bit is set and ROUTE_0_COLOR_DEST contains the
* color register index.
+ *
+ * Apperently you may set the R300_RS_ROUTE_0_COLOR bit, but not provide any
+ * R300_RS_ROUTE_0_COLOR_DEST value; this setup is used for clearing the state.
+ * See r300_ioctl.c:r300EmitClearState. I'm not sure if this setup is strictly
+ * correct or not. - Oliver.
*/
# define R300_RS_ROUTE_0_COLOR (1 << 14)
# define R300_RS_ROUTE_0_COLOR_DEST_SHIFT 17