From: Brian Paul Date: Thu, 11 Jan 2018 16:50:42 +0000 (-0700) Subject: gallium/hud: s/unsigned/enum pipe_query_type/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=541f569a193e6a8b426c7d0f4f6b7533db571305;p=mesa.git gallium/hud: s/unsigned/enum pipe_query_type/ Reviewed-by: Marek Olšák --- 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,