summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,