summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600d.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-01-30 06:21:07 +0100
committerMarek Olšák <maraeo@gmail.com>2012-01-31 23:12:30 +0100
commit0813e58a3e41faf6f2072d034dfdc6198a3a1fee (patch)
tree5cfa9a22c9949ab6acc4fefe02c8dc5449961b95 /src/gallium/drivers/r600/r600d.h
parent2fe521fa419ee153afb6295289dc5e95d3229858 (diff)
r600g: rework cache flushing
This also significantly improves the RV670 flush by using the CB1 flush *always* and also DEST_BASE_0_ENA, which appears to magically fix some tests. I am not entirely sure, but it's possible that RV670 flushing is fixed completely. v2: fix cayman by flushing texture cache instead of vertex cache Thanks to Dave Airlie for testing Cayman.
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r--src/gallium/drivers/r600/r600d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h
index e2a526f5101..3c3238a1242 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -3270,6 +3270,7 @@
#define S_0085F0_SO3_DEST_BASE_ENA(x) (((x) & 0x1) << 5)
#define G_0085F0_SO3_DEST_BASE_ENA(x) (((x) >> 5) & 0x1)
#define C_0085F0_SO3_DEST_BASE_ENA 0xFFFFFFDF
+#define S_0085F0_CB0_DEST_BASE_ENA_SHIFT 6
#define S_0085F0_CB0_DEST_BASE_ENA(x) (((x) & 0x1) << 6)
#define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1)
#define C_0085F0_CB0_DEST_BASE_ENA 0xFFFFFFBF