diff options
author | Marek Olšák <[email protected]> | 2013-03-21 19:44:18 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-03-26 01:28:19 +0100 |
commit | 2504380aafe5ff745c87a2e715bc29a20597ebe4 (patch) | |
tree | 6939c81e3ae3a32545cf8c123c1cd7d9a0eb93cf /src/gallium/drivers/r600/r600_state_common.c | |
parent | e40c634bd210b53e8d8fb7e049f6efc7d0fe05cb (diff) |
r600g: add a driver query returning the number of draw_vbo calls
between begin_query and end_query
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_common.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 34c70edf575..8190873ce7b 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -1517,6 +1517,7 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info } pipe_resource_reference(&ib.buffer, NULL); + rctx->num_draw_calls++; } void r600_draw_rectangle(struct blitter_context *blitter, |