glsl: simplify interface matching
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 2 Dec 2015 06:53:19 +0000 (17:53 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 15 Dec 2015 02:10:39 +0000 (13:10 +1100)
commit183c606066b1b260acb189e46a40cb71e63b44aa
treeec4ded3f94035763568927d16dfc1cf9333af045
parent8e264765a47a4904279b651b688688f5f4d11ea9
glsl: simplify interface matching

This makes the code easier to follow, should be more efficient
and will makes it easier to add matching via explicit locations
in the following patch.

This patch also replaces the hash table with the newer
resizable hash table this should be more suitable as the table
is likely to only contain a small number of entries.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/glsl/link_interface_blocks.cpp