Sending out a v2 just in case someone has any more comments. If not I'll probably push these tomorrow, or thursday.
This is a revival of some old patches I had around to improve the compile times in the glsl compiler by reducing the time spend inserting items in the hash table in opt_copy_propagation. I've only rebased this, as my system don't even want to compile anything right now. I also don't remember if it was thoroughly tested, so that will have to be done. Sending it out as Dave might be interested in this to mitigate some of the overhead his soft-dobule implementation incurs. Thomas Helland (2): util: Implement a hash table cloning function glsl: Use hash table cloning in copy propagation src/compiler/glsl/opt_copy_propagation.cpp | 17 ++++--------- .../glsl/opt_copy_propagation_elements.cpp | 29 ++++++++-------------- src/util/hash_table.c | 22 ++++++++++++++++ src/util/hash_table.h | 2 ++ 4 files changed, 39 insertions(+), 31 deletions(-) -- 2.16.2 _______________________________________________ mesa-dev mailing list email@example.com https://lists.freedesktop.org/mailman/listinfo/mesa-dev