projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: ensure UsesFogFragCoord value is set for non-glsl shaders
[mesa.git]
/
src
/
mesa
/
shader
/
arbprogram_syn.h
diff --git
a/src/mesa/shader/arbprogram_syn.h
b/src/mesa/shader/arbprogram_syn.h
index 5f3f7d6cf4641b0233d13953ba5b87463be4cd79..d95a5dede4af48538c53771f53b054aef0f30c78 100644
(file)
--- a/
src/mesa/shader/arbprogram_syn.h
+++ b/
src/mesa/shader/arbprogram_syn.h
@@
-926,6
+926,8
@@
"stateTexEnvProperty\n"
" \"color\" .emit TEX_ENV_COLOR;\n"
"optLegacyTexUnitNum\n"
"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"
" lbracket_ne .and legacyTexUnitNum .and rbracket;\n"
"legacyTexUnitNum\n"
" integer;\n"
@@
-1242,11
+1244,11
@@
"white_char\n"
" ' ' .or '\\t' .or '\\n' .or '\\r';\n"
"comment_block\n"
"white_char\n"
" ' ' .or '\\t' .or '\\n' .or '\\r';\n"
"comment_block\n"
-" '#' .and .loop comment_char .and new_line;\n"
+" '#' .and .loop comment_char .and
optional_
new_line;\n"
"comment_char\n"
" '\\x0E'-'\\xFF' .or '\\x01'-'\\x09' .or '\\x0B'-'\\x0C';\n"
"comment_char\n"
" '\\x0E'-'\\xFF' .or '\\x01'-'\\x09' .or '\\x0B'-'\\x0C';\n"
-"new_line\n"
-" '\\n' .or crlf .or
'\\0'
;\n"
+"
optional_
new_line\n"
+" '\\n' .or crlf .or
.true
;\n"
"crlf\n"
" '\\r' .and '\\n';\n"
"semicolon\n"
"crlf\n"
" '\\r' .and '\\n';\n"
"semicolon\n"