From 58fbd75de27ae5b733059c9c3c5040e45ae85a0b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 3 Apr 2023 20:28:15 -0600 Subject: [PATCH] llvmpipe: s/unsigned/enum pipe_query_type/ Note we should do the same for pipe_context::create_query()'s query_type parameter. That would touch quite a few files. Signed-off-by: Brian Paul Part-of: --- src/gallium/drivers/llvmpipe/lp_query.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_query.h b/src/gallium/drivers/llvmpipe/lp_query.h index f0c0814..ef10ac3 100644 --- a/src/gallium/drivers/llvmpipe/lp_query.h +++ b/src/gallium/drivers/llvmpipe/lp_query.h @@ -45,7 +45,7 @@ struct llvmpipe_query { uint64_t start[LP_MAX_THREADS]; /* start count value for each thread */ uint64_t end[LP_MAX_THREADS]; /* end count value for each thread */ struct lp_fence *fence; /* fence from last scene this was binned in */ - unsigned type; /* PIPE_QUERY_* */ + enum pipe_query_type type; unsigned index; unsigned num_primitives_generated[PIPE_MAX_VERTEX_STREAMS]; unsigned num_primitives_written[PIPE_MAX_VERTEX_STREAMS]; -- 2.7.4