glsl: Fix typo fragement -> fragment

Fixes: 94d669b0d2 ("glsl: enforce fragment shader input restrictions in
       GLSL ES 3.10")

Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Andreas Boll
2017-11-08 15:15:08 +01:00
committed by Emil Velikov
parent 4f29ed38f3
commit a6932faae1

View File

@@ -5260,7 +5260,7 @@ ast_declarator_list::hir(exec_list *instructions,
if (var->type->fields.structure[i].type->is_array() ||
var->type->fields.structure[i].type->is_record())
_mesa_glsl_error(&loc, state,
"fragement shader input cannot have "
"fragment shader input cannot have "
"a struct that contains an "
"array or struct");
}