summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreend.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-03-07 17:15:23 +0100
committerMarek Olšák <[email protected]>2012-03-08 11:23:24 +0100
commitf6546535c9c8ce001e081487b8cd30b6703c0f4d (patch)
tree1ef2bd6ff2ac77a9902e4120bfc6e519b2769659 /src/gallium/drivers/r600/evergreend.h
parentc7eaf274a9b7e3e5f4b060be2320eb605464ba5c (diff)
r600g: use SX_MISC to implement rasterizer discard
Yeah I am reworking it again. This is way simpler than the other methods.
Diffstat (limited to 'src/gallium/drivers/r600/evergreend.h')
-rw-r--r--src/gallium/drivers/r600/evergreend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h
index fc403f33d75..4009e91d4fc 100644
--- a/src/gallium/drivers/r600/evergreend.h
+++ b/src/gallium/drivers/r600/evergreend.h
@@ -1590,6 +1590,9 @@
#define R_028238_CB_TARGET_MASK 0x00028238
#define R_02823C_CB_SHADER_MASK 0x0002823C
#define R_028350_SX_MISC 0x00028350
+#define S_028350_MULTIPASS(x) (((x) & 0x1) << 0)
+#define G_028350_MULTIPASS(x) (((x) >> 0) & 0x1)
+#define C_028350_MULTIPASS 0xFFFFFFFE
#define R_028354_SX_SURFACE_SYNC 0x00028354
#define S_028354_SURFACE_SYNC_MASK(x) (((x) & 0x1FF) << 0)
#define R_028380_SQ_VTX_SEMANTIC_0 0x00028380