diff options
author | Marek Olšák <[email protected]> | 2014-02-12 15:13:30 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-04-09 01:45:16 +0200 |
commit | fb5cf3490ebbc173211b6c04c869e3fb9f4dbecc (patch) | |
tree | 82c6e4174fd507206ed2673c5d738ca6fa9a9381 /src/gallium/drivers/radeon/r600_pipe_common.h | |
parent | 4a5519f1e019dbf1103e4f3abe0a695637a87518 (diff) |
r600g,radeonsi: add a bunch of useful queries for the HUD
Diffstat (limited to 'src/gallium/drivers/radeon/r600_pipe_common.h')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index 1815ff6003a..2be9ea280ba 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -50,6 +50,10 @@ #define R600_QUERY_REQUESTED_VRAM (PIPE_QUERY_DRIVER_SPECIFIC + 1) #define R600_QUERY_REQUESTED_GTT (PIPE_QUERY_DRIVER_SPECIFIC + 2) #define R600_QUERY_BUFFER_WAIT_TIME (PIPE_QUERY_DRIVER_SPECIFIC + 3) +#define R600_QUERY_NUM_CS_FLUSHES (PIPE_QUERY_DRIVER_SPECIFIC + 4) +#define R600_QUERY_NUM_BYTES_MOVED (PIPE_QUERY_DRIVER_SPECIFIC + 5) +#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) |