mesa: Use a temporary set to track whether we've added a resource yet.
authorEric Anholt <eric@anholt.net>
Tue, 9 Aug 2016 07:43:15 +0000 (00:43 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Aug 2016 19:27:22 +0000 (12:27 -0700)
commitac6966360fc2f31b5e862624c6ef0048e11148e7
tree4902ecb087e55d820c475769fd30a21d592f1883
parentee02a5e330151630be871decde563ddbf192465c
mesa: Use a temporary set to track whether we've added a resource yet.

Saves another .1s on servo.trace.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/glsl/linker.cpp