diff options
author | Marek Olšák <[email protected]> | 2014-12-29 13:39:42 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-01-07 12:06:43 +0100 |
commit | d217819e7872e1017260f525caff38e6e49e714d (patch) | |
tree | 446115b52e42b5aec59526bd9cc1dbcbcb10aefe /src/gallium/drivers/radeon | |
parent | d14f2ab4ad34536d46d0033117a859c53db0c976 (diff) |
r600g,radeonsi: separate cache flush flags
I will rename them for radeonsi.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index a699f45f421..15736d7b1c9 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -56,28 +56,8 @@ #define R600_QUERY_VRAM_USAGE (PIPE_QUERY_DRIVER_SPECIFIC + 6) #define R600_QUERY_GTT_USAGE (PIPE_QUERY_DRIVER_SPECIFIC + 7) -/* read caches */ -#define R600_CONTEXT_INV_VERTEX_CACHE (1 << 0) -#define R600_CONTEXT_INV_TEX_CACHE (1 << 1) -#define R600_CONTEXT_INV_CONST_CACHE (1 << 2) -#define R600_CONTEXT_INV_SHADER_CACHE (1 << 3) -/* read-write caches */ -#define R600_CONTEXT_STREAMOUT_FLUSH (1 << 8) -#define R600_CONTEXT_FLUSH_AND_INV (1 << 9) -#define R600_CONTEXT_FLUSH_AND_INV_CB_META (1 << 10) -#define R600_CONTEXT_FLUSH_AND_INV_DB_META (1 << 11) -#define R600_CONTEXT_FLUSH_AND_INV_DB (1 << 12) -#define R600_CONTEXT_FLUSH_AND_INV_CB (1 << 13) -#define R600_CONTEXT_FLUSH_WITH_INV_L2 (1 << 14) -/* engine synchronization */ -#define R600_CONTEXT_PS_PARTIAL_FLUSH (1 << 16) -#define R600_CONTEXT_WAIT_3D_IDLE (1 << 17) -#define R600_CONTEXT_WAIT_CP_DMA_IDLE (1 << 18) -#define R600_CONTEXT_VGT_FLUSH (1 << 19) -#define R600_CONTEXT_VGT_STREAMOUT_SYNC (1 << 20) -#define R600_CONTEXT_CS_PARTIAL_FLUSH (1 << 21) -/* other flags */ -#define R600_CONTEXT_FLAG_COMPUTE (1u << 31) +#define R600_CONTEXT_STREAMOUT_FLUSH (1u << 0) +#define R600_CONTEXT_PRIVATE_FLAG (1u << 1) /* special primitive types */ #define R600_PRIM_RECTANGLE_LIST PIPE_PRIM_MAX |