summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreend.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-08-14 20:42:35 +0200
committerMarek Olšák <[email protected]>2012-09-27 19:14:44 +0200
commit9f5d6320f2ee1e8147866030212f9924c6b3bf60 (patch)
treeeb47d8fa3d5efa47c9c859ccfe1b75bab4f6bd08 /src/gallium/drivers/r600/evergreend.h
parentb1d0fe022dc4826dadce014ab8fe062a82f75a16 (diff)
r600g: use invalid DB hardware formats to disable depth/stencil
Diffstat (limited to 'src/gallium/drivers/r600/evergreend.h')
-rw-r--r--src/gallium/drivers/r600/evergreend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h
index cb891997d30..3dff6f93149 100644
--- a/src/gallium/drivers/r600/evergreend.h
+++ b/src/gallium/drivers/r600/evergreend.h
@@ -567,6 +567,8 @@
#define R_028044_DB_STENCIL_INFO 0x028044
#define S_028044_FORMAT(x) (((x) & 0x1) << 0)
+#define V_028044_STENCIL_INVALID 0
+#define V_028044_STENCIL_8 1
#define G_028044_FORMAT(x) (((x) >> 0) & 0x1)
#define C_028044_FORMAT 0xFFFFFFFE
#define S_028044_TILE_SPLIT(x) (((x) & 0x7) << 8)