glsl: for anonymous struct matching use without_array() (v3)
authorDave Airlie <airlied@redhat.com>
Mon, 6 Jun 2016 00:33:51 +0000 (10:33 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 6 Jun 2016 02:54:41 +0000 (12:54 +1000)
commit1f66a4b68955b9d6cae629cec90e5e0f301c6a7a
tree18730c9efbe155967fa2e5957caead782220032f
parent6702c1581092bce230742d02ebf9325f68bd247a
glsl: for anonymous struct matching use without_array() (v3)

With tessellation shaders we can have cases where we have
arrays of anon structs, so make sure we match using without_array().

Fixes:
GL45-CTS.tessellation_shader.tessellation_control_to_tessellation_evaluation.gl_in

v2:
test lengths match as well (Ilia)
v3:
descend array lengths to check for matches as well (Ilia)

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/link_varyings.cpp