mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
fix parsing of state.texenv.color (bug 14931)
cherry-picked from master
This commit is contained in:
parent
826218d386
commit
5f6a726d9f
2 changed files with 4 additions and 2 deletions
|
|
@ -1942,10 +1942,10 @@ stateTexEnvProperty
|
|||
fragment program
|
||||
<optLegacyTexUnitNum> ::= ""
|
||||
| "[" <legacyTexUnitNum> "]"
|
||||
|
||||
NOTE: <optLegaceTexUnitNum> is not optional.
|
||||
*/
|
||||
optLegacyTexUnitNum
|
||||
optLegacyTexUnitNum_1 .or .true .emit 0x00;
|
||||
optLegacyTexUnitNum_1
|
||||
lbracket_ne .and legacyTexUnitNum .and rbracket;
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -926,6 +926,8 @@
|
|||
"stateTexEnvProperty\n"
|
||||
" \"color\" .emit TEX_ENV_COLOR;\n"
|
||||
"optLegacyTexUnitNum\n"
|
||||
" optLegacyTexUnitNum_1 .or .true .emit 0x00;\n"
|
||||
"optLegacyTexUnitNum_1\n"
|
||||
" lbracket_ne .and legacyTexUnitNum .and rbracket;\n"
|
||||
"legacyTexUnitNum\n"
|
||||
" integer;\n"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue