glsl: fix location and component packing validation on patches
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 17 May 2016 01:29:40 +0000 (11:29 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 17 May 2016 05:06:12 +0000 (15:06 +1000)
commit6d5f7557fb45d56e38f7e19060e05de4c77a9ee5
treec412841082d91dabb1e0d6b58d7c7baca4cedb0a
parentaae0865dc0134bdfb4a4fe05b2bcdbee9fc0a0ff
glsl: fix location and component packing validation on patches

These varyings 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/link_varyings.cpp
src/compiler/shader_enums.h