Module: Mesa Branch: main Commit: e4b86e76cf76f136ce67aa3246ac00ed6f925366 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4b86e76cf76f136ce67aa3246ac00ed6f925366
Author: Erik Faye-Lund <[email protected]> Date: Mon Jun 26 11:51:26 2023 +0200 tgsi: use enum for property-name Reviewed-by: Yonggang Luo <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002> --- 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];
