glsl: remove dead builtins before assigning varying locations
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 27 Jul 2016 05:20:43 +0000 (15:20 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 10 Aug 2016 22:33:21 +0000 (08:33 +1000)
commit82e153daff954a9bf09c8fb7e1adfeedb17a1fc3
tree8db5a66679c3da869badc13c7bf0a0793f89c738
parent588702cc41122607c8bf8a589b0714546bac190c
glsl: remove dead builtins before assigning varying locations

Builtins already have locations assigned so this shouldn't
change anything. We want to call it earlier so we can tranform
GLSL IR to NIR earlier.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/linker.cpp