diff options
author | Kenneth Graunke <[email protected]> | 2015-09-05 00:22:57 -0700 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-09-11 19:43:42 +0100 |
commit | d0cf5100b5564c2c8b06c733329248398e9ca6a3 (patch) | |
tree | dafd4e37fc06f5b989f0763797b9bb082107872b /SConstruct | |
parent | e36ca8c2bb04eb6be6b6a378ed7990baa041e71b (diff) |
glsl: Use hash tables in opt_constant_variable().
Cuts compile/link time of the fragment shader in bug #91857 by 31%
(31.79 -> 21.64). It has over 8,000 variables so linked lists are
terrible.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91857
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Thomas Helland <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Tested-by: Tapani Pälli <[email protected]>
(cherry picked from commit 2fc0ce293ac58237f02cc5dd2eee4e35abea06b5)
Nominated-by: Emil Velikov <[email protected]>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions