summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_reg.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-03-14 22:13:01 +0100
committerDaniel Vetter <[email protected]>2011-03-15 18:36:25 +0100
commit11ee41fe7f72f7136b531f0c51f820e90a610a79 (patch)
treed894714ccba0d559e52364b37d69150619ef7b08 /src/gallium/drivers/i915/i915_reg.h
parent288504fac7b659da6bd45f22ccfb39d130250f9c (diff)
i915g: implement early z
v2: Make it actually work. Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_reg.h')
-rw-r--r--src/gallium/drivers/i915/i915_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_reg.h b/src/gallium/drivers/i915/i915_reg.h
index 5e4e80ddf6b..6fe032cdb6e 100644
--- a/src/gallium/drivers/i915/i915_reg.h
+++ b/src/gallium/drivers/i915/i915_reg.h
@@ -148,6 +148,7 @@
/* p161 */
#define _3DSTATE_DST_BUF_VARS_CMD (CMD_3D | (0x1d<<24) | (0x85<<16))
/* Dword 1 */
+#define CLASSIC_EARLY_DEPTH (1<<31)
#define TEX_DEFAULT_COLOR_OGL (0<<30)
#define TEX_DEFAULT_COLOR_D3D (1<<30)
#define ZR_EARLY_DEPTH (1<<29)