summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/arbprogram_syn.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-10 07:41:53 -0600
committerBrian <[email protected]>2008-03-10 07:43:40 -0600
commitdd0a9203e3c71286836f7600e99ee826ebce7a06 (patch)
treea03c312c0c64b4f2343d5f3b84254f05655496da /src/mesa/shader/arbprogram_syn.h
parent20e0a8a1ca8e526f4b9b5e6043456c5aeb8fbc0f (diff)
fix parsing of state.texenv.color (bug 14931)
Diffstat (limited to 'src/mesa/shader/arbprogram_syn.h')
-rw-r--r--src/mesa/shader/arbprogram_syn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/arbprogram_syn.h b/src/mesa/shader/arbprogram_syn.h
index 5f3f7d6cf46..3f3ab073cf9 100644
--- 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"
+" optLegacyTexUnitNum_1 .or .true .emit 0x00;\n"
+"optLegacyTexUnitNum_1\n"
" lbracket_ne .and legacyTexUnitNum .and rbracket;\n"
"legacyTexUnitNum\n"
" integer;\n"