summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-11 09:50:42 -0700
committerBrian Paul <[email protected]>2018-01-17 11:17:56 -0700
commit541f569a193e6a8b426c7d0f4f6b7533db571305 (patch)
treec5bd347963318426a9351420acb7510c1fd20346 /src
parent3c35dad1dfd108db082a46ee45da6633e244eb92 (diff)
gallium/hud: s/unsigned/enum pipe_query_type/
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/hud/hud_driver_query.c5
-rw-r--r--src/gallium/auxiliary/hud/hud_private.h3
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,