summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-03-22 02:39:42 +0100
committerMarek Olšák <[email protected]>2013-03-26 01:28:19 +0100
commit8ddae684aff5bae3f9bf12b35d938fe53aadc1a8 (patch)
tree23900c4e4cc6a00fcceca502e670f4b34b6dd60f /src/gallium/drivers/r600/r600_pipe.h
parent2504380aafe5ff745c87a2e715bc29a20597ebe4 (diff)
r600g: add a driver query returning the amount of requested VRAM and GTT memory
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 9c3a4c2b229..541d42e7983 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -76,6 +76,8 @@
#define R600_CONTEXT_FLUSH_AND_INV_DB_META (1 << 7)
#define R600_QUERY_DRAW_CALLS (PIPE_QUERY_DRIVER_SPECIFIC + 0)
+#define R600_QUERY_REQUESTED_VRAM (PIPE_QUERY_DRIVER_SPECIFIC + 1)
+#define R600_QUERY_REQUESTED_GTT (PIPE_QUERY_DRIVER_SPECIFIC + 2)
struct r600_context;
struct r600_bytecode;