summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-09-05 00:22:57 -0700
committerEmil Velikov <[email protected]>2015-09-11 19:43:42 +0100
commitd0cf5100b5564c2c8b06c733329248398e9ca6a3 (patch)
treedafd4e37fc06f5b989f0763797b9bb082107872b /common.py
parente36ca8c2bb04eb6be6b6a378ed7990baa041e71b (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 'common.py')
0 files changed, 0 insertions, 0 deletions