glsl: Update ES 3.2 shader output restrictions.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Jan 2017 10:56:52 +0000 (02:56 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Jan 2017 22:10:50 +0000 (14:10 -0800)
commitbc7f1eddbdefaf8f6c094668d6218df61cb6113f
tree13f74ac22514e9cc14df46d1def6f9bc760c1e8b
parentfc78ee5da0e587295b78ea191353d463d4eac987
glsl: Update ES 3.2 shader output restrictions.

This disallows fancy varyings in tessellation and geometry shaders,
as required by ES 3.2.

Fixes:
dEQP-GLES31.functional.tessellation.user_defined_io.negative.per_patch_array_of_structs
dEQP-GLES31.functional.tessellation.user_defined_io.negative.per_patch_structs_containing_arrays

(Not a candidate for stable branches as it only disallows things which
should be working as desktop GL allows them.)

v2: Update error messages to not say "vertex shader" (caught by Iago).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/glsl/ast_to_hir.cpp