summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-06-11 17:33:33 -0700
committerEric Anholt <eric@anholt.net>2007-06-12 08:43:39 -0700
commit0e1deb607f94e4aa3ec4b9df8ff7a07a1c95e31d (patch)
treecab2ee6fa912babeaba9fb09bb33cd01b1409121 /src
parent8d7a0ccd4f674659eb781def2cfdc3a6e5a219ce (diff)
Fix a typo in _3DSTATE_DEPTH_SUBRECT_DISABLE definition.
This is already fixed in the definition in the 3d driver.
Diffstat (limited to 'src')
-rw-r--r--src/i915_reg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i915_reg.h b/src/i915_reg.h
index 6751de60..6b40d70a 100644
--- a/src/i915_reg.h
+++ b/src/i915_reg.h
@@ -133,9 +133,9 @@
#define _3DSTATE_DEPTH_OFFSET_SCALE (CMD_3D | (0x1d<<24) | (0x97<<16))
/* scale in dword 1 */
-
+/* The depth subrectangle is not supported, but must be disabled. */
/* 3DSTATE_DEPTH_SUBRECT_DISABLE, p160 */
-#define _3DSTATE_DEPTH_SUBRECT_DISABLE (CMD_3D | (0x1c<<24) | (0x11<19) | 0x2)
+#define _3DSTATE_DEPTH_SUBRECT_DISABLE (CMD_3D | (0x1c<<24) | (0x11<<19) | (1 << 1) | (0 << 0))
/* p161 */
#define _3DSTATE_DST_BUF_VARS_CMD (CMD_3D | (0x1d<<24) | (0x85<<16))