diff options
author | Kenneth Graunke <[email protected]> | 2010-08-16 12:34:53 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-09-07 17:30:37 -0700 |
commit | 719caa403ecc3345b86708f8172600d80132d6cb (patch) | |
tree | e69d295f4e4644e709bf281ba174b32245d8302f /src/glsl/glsl_parser.ypp | |
parent | 814c89abdbcd5b841b98746af921796df0362238 (diff) |
glsl: Accept language version 100 and make it the default on ES2.
Diffstat (limited to 'src/glsl/glsl_parser.ypp')
-rw-r--r-- | src/glsl/glsl_parser.ypp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser.ypp b/src/glsl/glsl_parser.ypp index 3b5a4088ae2..594e4459303 100644 --- a/src/glsl/glsl_parser.ypp +++ b/src/glsl/glsl_parser.ypp @@ -222,6 +222,8 @@ version_statement: | VERSION INTCONSTANT EOL { switch ($2) { + case 100: + state->es_shader = true; case 110: case 120: case 130: |