Module: Mesa Branch: main Commit: 4844809edbeed44337b4557749c881d47ae5b07f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4844809edbeed44337b4557749c881d47ae5b07f
Author: Erik Faye-Lund <[email protected]> Date: Fri Jun 23 14:07:51 2023 +0200 cso: use enum for render-conditions Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Yonggang Luo <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23833> --- src/gallium/auxiliary/cso_cache/cso_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index bd15e8eaa58..25bb3f69b8f 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++ b/src/gallium/auxiliary/cso_cache/cso_context.c @@ -110,7 +110,7 @@ struct cso_context { void *compute_shader, *compute_shader_saved; void *velements, *velements_saved; struct pipe_query *render_condition, *render_condition_saved; - uint render_condition_mode, render_condition_mode_saved; + enum pipe_render_cond_flag render_condition_mode, render_condition_mode_saved; boolean render_condition_cond, render_condition_cond_saved; bool flatshade_first, flatshade_first_saved;
