From 4844809edbeed44337b4557749c881d47ae5b07f Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 23 Jun 2023 14:07:51 +0200 Subject: [PATCH] cso: use enum for render-conditions Reviewed-by: Eric Engestrom Reviewed-by: Yonggang Luo Part-of: --- 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;