glsl: do not emit error for non written varyings on OpenGL ES
authorTapani Pälli <tapani.palli@intel.com>
Tue, 16 Sep 2014 17:18:41 +0000 (20:18 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 7 Oct 2014 05:28:51 +0000 (08:28 +0300)
commit16b53005a7df4249fecb6641af0934c32181fdea
tree8712cd3dbb822a0d5724150117e0584286cafa4d
parentbe0a994fb8689131bf6a717c1e6fa5a42c3d4657
glsl: do not emit error for non written varyings on OpenGL ES

Patch fixes following test case from 'shaders-with-varyings' WebGL
conformance suite: "vertex shader with unused varying and fragment
shader with used varying must succeed"

v2: emit still a warning if the condition happens (Ian)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/link_varyings.cpp