[Mesa-dev] [PATCH 4/4] glsl: Use hash table cloning in copy propagation

Thomas Helland thomashelland90 at gmail.com
Mon Mar 12 09:16:27 UTC 2018

2018-03-12 5:23 GMT+01:00 Dave Airlie <airlied at gmail.com>:
> Did anything ever comes of this series, trying some soft fp64 shaders,
> and glsl copy opt is taking 2-3 seconds on the big ones.
> Nearly all spent in hash table insertions.
> Dave.

I still have the patches around. I also have a new "pointer_map" in the
works that brings us much better cache behaviour. End result is a
substantial speedup in multiple usecases. I don't have a "clone"
function for the new pointer_map, but I believe it should be possible
to make one. I'll see if I can get those patches out this evening,
at least as an RFC

- Thomas

More information about the mesa-dev mailing list