diff options
author | Marek Olšák <[email protected]> | 2012-09-25 03:11:22 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-27 19:14:44 +0200 |
commit | 933faae2b8669f459e7ab27d6bcbfb6f4136b6d5 (patch) | |
tree | 60fa5ecedd9856f708eb8f700470bacbede7b4f9 /src/gallium/drivers/r600/r600d.h | |
parent | 9f5d6320f2ee1e8147866030212f9924c6b3bf60 (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.h | 1 |
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 |