glsl/linker: Fail linking on ES if uniform precision qualifiers don't match
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 24 May 2016 19:04:53 +0000 (12:04 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Aug 2016 22:03:15 +0000 (15:03 -0700)
commit259fc505454ea6a67aeacf6cdebf1398d9947759
tree1493c7c463547c18305203550a8c3524535acf7a
parent06201e4f1afb5c4354d5e2238a57e54c9463cf9f
glsl/linker: Fail linking on ES if uniform precision qualifiers don't match

When GL_OES_geometry_shader is enabled, this fixes
dEQP-GLES31.functional.shaders.linkage.geometry.uniform.rules.type_mismatch_1.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/linker.cpp