Module: Mesa Branch: main Commit: 58fbd75de27ae5b733059c9c3c5040e45ae85a0b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58fbd75de27ae5b733059c9c3c5040e45ae85a0b
Author: Brian Paul <[email protected]> Date: Mon Apr 3 20:28:15 2023 -0600 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22281> --- 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 f0c08145eb2..ef10ac3afe3 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];
