summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-09-05 00:22:57 -0700
committerKenneth Graunke <[email protected]>2015-09-11 00:01:24 -0700
commit2fc0ce293ac58237f02cc5dd2eee4e35abea06b5 (patch)
tree3a412f86a441aa43529e821d9bc7b194e2b3ff03 /src/mesa/drivers
parent4603723722127e707a5c1fa28736ee932f326846 (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]>
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions