From e4b86e76cf76f136ce67aa3246ac00ed6f925366 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 26 Jun 2023 11:51:26 +0200 Subject: [PATCH] tgsi: use enum for property-name Reviewed-by: Yonggang Luo Part-of: --- src/gallium/auxiliary/tgsi/tgsi_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index e1bab86df88..8e9914fcd07 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c @@ -1724,7 +1724,7 @@ parse_property_next_shader( const char **pcur, uint *next_shader ) static bool parse_property( struct translate_ctx *ctx ) { struct tgsi_full_property prop; - uint property_name; + enum tgsi_property_name property_name; uint values[8]; uint advance; char id[64];