tgsi: use enum for property-name

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>
This commit is contained in:
Erik Faye-Lund 2023-06-26 11:51:26 +02:00 committed by Marge Bot
parent 5ccf63dc9d
commit e4b86e76cf

View file

@ -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];