summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_reg.h
diff options
context:
space:
mode:
authorChristoph Bill <egore@gmx.de>2007-03-01 20:40:25 +0100
committerJerome Glisse <glisse@freedesktop.org>2007-03-01 20:40:25 +0100
commitad3f2107ed698e794871e0a2bd996260b263b46a (patch)
tree8d98b4fb7d6ad246a862612b7db76ef5f2d76da8 /src/mesa/drivers/dri/r300/r300_reg.h
parent5cb01764f647be7ca3cb5e891af9fe012914a93d (diff)
Add early register descritpion.
This need more work on case where we can disable or enable early (stencil, alpha might need it to be disable).
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_reg.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h
index 9f636ec1d2..6abcfa4569 100644
--- a/src/mesa/drivers/dri/r300/r300_reg.h
+++ b/src/mesa/drivers/dri/r300/r300_reg.h
@@ -1378,6 +1378,10 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
/* 16 bit format or some aditional bit ? */
# define R300_DEPTH_FORMAT_UNK32 (32 << 0)
+#define R300_RB3D_EARLY_Z 0x4F14
+# define R300_EARLY_Z_DISABLE (0 << 0)
+# define R300_EARLY_Z_ENABLE (1 << 0)
+
/* gap */
#define R300_RB3D_DEPTHOFFSET 0x4F20