glsl: don't incorrectly eliminate patches with explicit locations
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 17 May 2016 01:34:38 +0000 (11:34 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 17 May 2016 05:06:21 +0000 (15:06 +1000)
commit00441829e7317b2327c425cb8c364363b176defa
tree368f75c0568f703f4105a53256e42fec01a599aa
parent3f477f0ea53b92be4a7b026fdffb3664f154218b
glsl: don't incorrectly eliminate patches with explicit locations

These varying have a separate location domain from per-vertex varyings
and need to be handled separately.

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