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 <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22281>
This commit is contained in:
Brian Paul
2023-04-03 20:28:15 -06:00
committed by Marge Bot
parent 76605c1cb9
commit 58fbd75de2
+1 -1
View File
@@ -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];