summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600d.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-09-25 03:11:22 +0200
committerMarek Olšák <[email protected]>2012-09-27 19:14:44 +0200
commit933faae2b8669f459e7ab27d6bcbfb6f4136b6d5 (patch)
tree60fa5ecedd9856f708eb8f700470bacbede7b4f9 /src/gallium/drivers/r600/r600d.h
parent9f5d6320f2ee1e8147866030212f9924c6b3bf60 (diff)
r600g: flush FMASK and CMASK when changing colorbuffers on Evergreen
This fixes rare graphical corruption. NOTE: This is a candidate for the stable branches.
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 cf0059a4b36..4b46bd7613a 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -119,6 +119,7 @@
#define EVENT_TYPE_CACHE_FLUSH_AND_INV_EVENT 0x16
#define EVENT_TYPE_SO_VGTSTREAMOUT_FLUSH 0x1f
#define EVENT_TYPE_SAMPLE_STREAMOUTSTATS 0x20
+#define EVENT_TYPE_FLUSH_AND_INV_CB_META 46 /* supported on r700+ */
#define EVENT_TYPE(x) ((x) << 0)
#define EVENT_INDEX(x) ((x) << 8)
/* 0 - any non-TS event