diff options
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r-- | src/gallium/drivers/trace/tr_context.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 3e995980e92..551c3facb64 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/src/gallium/drivers/trace/tr_context.c @@ -127,7 +127,8 @@ trace_context_draw_vbo(struct pipe_context *_pipe, static INLINE struct pipe_query * trace_context_create_query(struct pipe_context *_pipe, - unsigned query_type) + unsigned query_type, + unsigned index) { struct trace_context *tr_ctx = trace_context(_pipe); struct pipe_context *pipe = tr_ctx->pipe; @@ -137,8 +138,9 @@ trace_context_create_query(struct pipe_context *_pipe, trace_dump_arg(ptr, pipe); trace_dump_arg(query_type, query_type); + trace_dump_arg(int, index); - query = pipe->create_query(pipe, query_type); + query = pipe->create_query(pipe, query_type, index); trace_dump_ret(ptr, query); |