diff options
author | Eric Anholt <eric@anholt.net> | 2009-06-09 16:12:43 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-06-09 16:12:43 -0700 |
commit | b30dc2c66aeaad6661eef515a08a3da89aa07cb2 (patch) | |
tree | df79cf877c4c707967b8d4acc163a8d1205ee9d3 /src/mesa/drivers/dri/i915/i915_reg.h | |
parent | 38eddf04ed04966db09b67de4cdabef681dc2696 (diff) | |
download | external_mesa3d-b30dc2c66aeaad6661eef515a08a3da89aa07cb2.zip external_mesa3d-b30dc2c66aeaad6661eef515a08a3da89aa07cb2.tar.gz external_mesa3d-b30dc2c66aeaad6661eef515a08a3da89aa07cb2.tar.bz2 |
i915: Add an option for testing the effect of early Z in classic mode.
The early Z stuff is supposed to be unsafe without some more work in the
enable/disable path (in particular, how do we want to get it disabled on
the way out to the X Server?), but at the moment is 6% in OA.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_reg.h')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_reg.h b/src/mesa/drivers/dri/i915/i915_reg.h index b02e2c7..84db58e 100644 --- a/src/mesa/drivers/dri/i915/i915_reg.h +++ b/src/mesa/drivers/dri/i915/i915_reg.h @@ -141,6 +141,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) |