linker: Refactor code that builds hash tables of varyings during linking
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Oct 2013 22:39:45 +0000 (15:39 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 May 2014 14:19:39 +0000 (07:19 -0700)
commit8f5852bd2b91df7b259e5aeafb6a62a4268ca4c4
treea8349665eaa28b9940dc900916bf6dd034e030a6
parentca21cffebd063354291d561eadc2ded8795a5333
linker: Refactor code that builds hash tables of varyings during linking

I want to make some changes to this code, but first I want to make some
unit tests for it... so that I can capture the pre- and
post-invariants.  Pulling the code out into its own function in a
non-anonymous namespace enables that.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/link_varyings.cpp