summaryrefslogtreecommitdiff
path: root/src/glsl
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-08-02 10:54:22 -0700
committerEric Anholt <eric@anholt.net>2010-08-02 10:59:46 -0700
commit004e924014f749e8ae5cc7a40e1bb431af0b9041 (patch)
treea3a9907c9befa237aaa34fe02911592d7ac41aaf /src/glsl
parentf311d8e9e9ef79fde762fbd7817f7fe51b37dc45 (diff)
glsl2: Fix spelling of "precision" in error output.
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/glsl_parser.cpp6
-rw-r--r--src/glsl/glsl_parser.ypp6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/glsl/glsl_parser.cpp b/src/glsl/glsl_parser.cpp
index b31f558168..bf83b81603 100644
--- a/src/glsl/glsl_parser.cpp
+++ b/src/glsl/glsl_parser.cpp
@@ -4454,7 +4454,7 @@ yyreduce:
{
if (state->language_version < 130)
_mesa_glsl_error(& (yylsp[(1) - (1)]), state,
- "precission qualifier forbidden "
+ "precision qualifier forbidden "
"in GLSL %d.%d (1.30 or later "
"required)\n",
state->language_version / 100,
@@ -4471,7 +4471,7 @@ yyreduce:
{
if (state->language_version < 130)
_mesa_glsl_error(& (yylsp[(1) - (1)]), state,
- "precission qualifier forbidden "
+ "precision qualifier forbidden "
"in GLSL %d.%d (1.30 or later "
"required)\n",
state->language_version / 100,
@@ -4488,7 +4488,7 @@ yyreduce:
{
if (state->language_version < 130)
_mesa_glsl_error(& (yylsp[(1) - (1)]), state,
- "precission qualifier forbidden "
+ "precision qualifier forbidden "
"in GLSL %d.%d (1.30 or later "
"required)\n",
state->language_version / 100,
diff --git a/src/glsl/glsl_parser.ypp b/src/glsl/glsl_parser.ypp
index 53132d9067..7cabefbd34 100644
--- a/src/glsl/glsl_parser.ypp
+++ b/src/glsl/glsl_parser.ypp
@@ -1128,7 +1128,7 @@ precision_qualifier:
HIGHP {
if (state->language_version < 130)
_mesa_glsl_error(& @1, state,
- "precission qualifier forbidden "
+ "precision qualifier forbidden "
"in GLSL %d.%d (1.30 or later "
"required)\n",
state->language_version / 100,
@@ -1139,7 +1139,7 @@ precision_qualifier:
| MEDIUMP {
if (state->language_version < 130)
_mesa_glsl_error(& @1, state,
- "precission qualifier forbidden "
+ "precision qualifier forbidden "
"in GLSL %d.%d (1.30 or later "
"required)\n",
state->language_version / 100,
@@ -1150,7 +1150,7 @@ precision_qualifier:
| LOWP {
if (state->language_version < 130)
_mesa_glsl_error(& @1, state,
- "precission qualifier forbidden "
+ "precision qualifier forbidden "
"in GLSL %d.%d (1.30 or later "
"required)\n",
state->language_version / 100,