From 541f569a193e6a8b426c7d0f4f6b7533db571305 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 11 Jan 2018 09:50:42 -0700 Subject: [PATCH] gallium/hud: s/unsigned/enum pipe_query_type/ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/gallium/auxiliary/hud/hud_driver_query.c | 5 +++-- src/gallium/auxiliary/hud/hud_private.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gallium/auxiliary/hud/hud_driver_query.c b/src/gallium/auxiliary/hud/hud_driver_query.c index 085bc627ec3..630aae0118f 100644 --- a/src/gallium/auxiliary/hud/hud_driver_query.c +++ b/src/gallium/auxiliary/hud/hud_driver_query.c @@ -194,7 +194,7 @@ hud_batch_query_cleanup(struct hud_batch_query_context **pbq, struct query_info { struct hud_batch_query_context *batch; - unsigned query_type; + enum pipe_query_type query_type; unsigned result_index; /* unit depends on query_type */ enum pipe_driver_query_result_type result_type; @@ -349,7 +349,8 @@ free_query_info(void *ptr, struct pipe_context *pipe) void hud_pipe_query_install(struct hud_batch_query_context **pbq, struct hud_pane *pane, - const char *name, unsigned query_type, + const char *name, + enum pipe_query_type query_type, unsigned result_index, uint64_t max_value, enum pipe_driver_query_type type, enum pipe_driver_query_result_type result_type, diff --git a/src/gallium/auxiliary/hud/hud_private.h b/src/gallium/auxiliary/hud/hud_private.h index 9e8d74c2f88..a51436ff5f1 100644 --- a/src/gallium/auxiliary/hud/hud_private.h +++ b/src/gallium/auxiliary/hud/hud_private.h @@ -162,7 +162,8 @@ void hud_thread_counter_install(struct hud_pane *pane, const char *name, enum hud_counter counter); void hud_pipe_query_install(struct hud_batch_query_context **pbq, struct hud_pane *pane, - const char *name, unsigned query_type, + const char *name, + enum pipe_query_type query_type, unsigned result_index, uint64_t max_value, enum pipe_driver_query_type type, -- 2.30.2