summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-04-05 02:43:26 +0200
committerMarek Olšák <[email protected]>2013-04-16 13:56:47 +0200
commit05fa3595e06c8b504f0eb86db8ed6ba88bffc98e (patch)
tree5e3a95879f85f381f71f710134d631bb59ba4568 /src/gallium/drivers/r600/r600_pipe.c
parentb3f1f665b0fef178ae193e6b111f14c9a5ad3b25 (diff)
r600g: add a query returning the amount of time spent during bo_map sync.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 3f36e636605..609f4a09c1a 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -1161,6 +1161,7 @@ static int r600_get_driver_query_info(struct pipe_screen *screen,
{"draw-calls", R600_QUERY_DRAW_CALLS, 0},
{"requested-VRAM", R600_QUERY_REQUESTED_VRAM, rscreen->info.vram_size, TRUE},
{"requested-GTT", R600_QUERY_REQUESTED_GTT, rscreen->info.gart_size, TRUE},
+ {"buffer-wait-time", R600_QUERY_BUFFER_WAIT_TIME, 0, FALSE}
};
if (!info)