diff options
author | Fredrik Höglund <[email protected]> | 2011-04-20 00:21:42 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-04-20 09:08:15 +1000 |
commit | 6067a2a67f9a7aab2aee051469bea8af03747a95 (patch) | |
tree | 7a96c4b31a9a2b8cd28e8add48aff35af816c6a0 /src/gallium/drivers/r600/evergreend.h | |
parent | 8b7f760f835f870b8f6af6c4d6613d44440f1dc5 (diff) |
r600g: don't flush the dest caches on every draw
Keep track of when the caches are dirty, and only flush them when
the framebuffer state is set and when the context is flushed.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreend.h')
-rw-r--r-- | src/gallium/drivers/r600/evergreend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h index 8489c29a691..de445b879a1 100644 --- a/src/gallium/drivers/r600/evergreend.h +++ b/src/gallium/drivers/r600/evergreend.h @@ -43,6 +43,7 @@ #define EVERGREEN_CTL_CONST_OFFSET 0x0003CFF0 #define EVERGREEN_CTL_CONST_END 0x0003E200 +#define EVENT_TYPE_PS_PARTIAL_FLUSH 0x10 #define EVENT_TYPE_ZPASS_DONE 0x15 #define EVENT_TYPE_CACHE_FLUSH_AND_INV_EVENT 0x16 #define EVENT_TYPE(x) ((x) << 0) |