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:

committed by
Emil Velikov

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