mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-04 16:31:30 +00:00
[qfcc] Handle aliases and provisional in spirv grammar
They're currently ignored, but it seems the recent spec update added these fields.
This commit is contained in:
parent
ad51881a60
commit
c18d1b5629
1 changed files with 4 additions and 0 deletions
|
@ -270,6 +270,8 @@ static plfield_t spirv_enumerant_fields[] = {
|
|||
{"parameters", 0, QFArray, parse_array, &parse_parameter_data},
|
||||
{"version", offsetof (spirv_enumerant_t, version), QFString, parse_string, &parse_string_array},
|
||||
{"lastVersion", offsetof (spirv_enumerant_t, lastVersion), QFString, parse_string, &parse_string_array},
|
||||
{"aliases", 0, QFArray, parse_ignore, nullptr},
|
||||
{"provisional", 0, QFBool, parse_ignore, nullptr},
|
||||
{ }
|
||||
};
|
||||
|
||||
|
@ -336,6 +338,8 @@ static plfield_t spirv_instruction_fields[] = {
|
|||
{"version", offsetof (spirv_instruction_t, version), QFString, parse_string, &parse_string_array},
|
||||
{"lastVersion", offsetof (spirv_instruction_t, lastVersion), QFString, parse_string, &parse_string_array},
|
||||
{"class", 0, QFString, parse_ignore, nullptr},
|
||||
{"aliases", 0, QFArray, parse_ignore, nullptr},
|
||||
{"provisional", 0, QFBool, parse_ignore, nullptr},
|
||||
{ }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue