summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_reg.h
diff options
context:
space:
mode:
authorChristoph Brill <egore911@egore911.de>2008-02-25 21:48:25 +0100
committerChristoph Brill <egore911@egore911.de>2008-02-25 21:48:25 +0100
commit60e1703727d7a84ae2dcd80f95b40c50e12cc06c (patch)
tree4f859709f575d95e92443a76aa3a1332c1e59deb /src/mesa/drivers/dri/r300/r300_reg.h
parentfa088bfe9de6a6fb482aa14715d9e9e05bc01586 (diff)
[r300] Sync fog color register names
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_reg.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h
index 17d051da4a..3425fc387f 100644
--- a/src/mesa/drivers/dri/r300/r300_reg.h
+++ b/src/mesa/drivers/dri/r300/r300_reg.h
@@ -1469,11 +1469,17 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
# define FG_FOG_BLEND_FN_CONSTANT (3 << 1)
# define FG_FOG_BLEND_FN_MASK 0x00000006
-#define R300_FOG_COLOR_R 0x4BC8
-#define R300_FOG_COLOR_G 0x4BCC
-#define R300_FOG_COLOR_B 0x4BD0
-/* Constant Factor for Fog Blending */
-#define R300_FG_FOG_FACTOR 0x4bc4
+/* Fog: Red Component of Fog Color */
+#define FG_FOG_COLOR_R 0x4bc8
+/* Fog: Green Component of Fog Color */
+#define FG_FOG_COLOR_G 0x4bcc
+/* Fog: Blue Component of Fog Color */
+#define FG_FOG_COLOR_B 0x4db0
+# define FG_FOG_COLOR_MASK 0x000001ff
+
+/* Fog: Constant Factor for Fog Blending */
+#define FG_FOG_FACTOR 0x4bc4
+# define FG_FOG_FACTOR_MASK 0x000001ff
/* Fog: Alpha function */
#define FG_ALPHA_FUNC 0x4bd4