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:
committed by
Marge Bot
parent
5ccf63dc9d
commit
e4b86e76cf
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user