glsl: generate link error when implicit stride is to large
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 11 Mar 2016 02:53:13 +0000 (13:53 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 31 Mar 2016 01:52:11 +0000 (12:52 +1100)
commitf2a3c87a00bb38aa63dfb3a5818b2d53ca46c663
tree3c59fa2bf15cb1c8f7170fab1fbe6842d1f8de1d
parent2fab85aaea59cb2d31d34ea6de94180ca83fe2dd
glsl: generate link error when implicit stride is to large

This moves the check until after we have done the stride
calculation and applies it to the xfb_* qualifiers.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/link_varyings.cpp