summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/arbparse_syn.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/main/arbparse_syn.h b/src/mesa/main/arbparse_syn.h
index 73ecdc7e66..3d033cd412 100644
--- a/src/mesa/main/arbparse_syn.h
+++ b/src/mesa/main/arbparse_syn.h
@@ -849,7 +849,13 @@ static char arb_grammar_text[] = ".syntax program;\n"
"stateLModProperty_1\n"
" dot .and \"ambient\" .emit LIGHT_MODEL_AMBIENT;\n"
"stateLModProperty_2\n"
-" optFaceType .and dot .and \"scenecolor\" .emit LIGHT_MODEL_SCENECOLOR;\n"
+" stateLModProperty_2A .or stateLModProperty_2B .or stateLModProperty_2C;\n"
+"stateLModProperty_2A\n"
+" dot .and \"front\" .and dot .and \"scenecolor\" .emit LIGHT_MODEL_SCENECOLOR .emit FACE_FRONT;\n"
+"stateLModProperty_2B\n"
+" dot .and \"back\" .and dot .and \"scenecolor\" .emit LIGHT_MODEL_SCENECOLOR .emit FACE_BACK;\n"
+"stateLModProperty_2C\n"
+" dot .and \"scenecolor\" .emit LIGHT_MODEL_SCENECOLOR .emit FACE_FRONT;\n"
"stateLightProdItem\n"
" \"lightprod\" .and lbracket .and stateLightNumber .and rbracket .and optFaceType .and dot .and\n"
" stateLProdProperty .error INVALID_LIGHTPROD_PROPERTY;\n"