commit | d9e08e753bf4125edcdb561bbe80547999eb8e32 | [log] [tgz] |
---|---|---|
author | Timothy Arceri <tarceri@itsqueeze.com> | Wed Feb 20 14:03:37 2019 +1100 |
committer | Timothy Arceri <tarceri@itsqueeze.com> | Fri Feb 22 08:36:36 2019 +1100 |
tree | c39a7648ca0439f8d7d59f1af06cb81bbc983951 | |
parent | cd0ac3a6af64478a1f1552225733ba2405a31dc6 [diff] |
nir: clone instruction set rather than removing individual entries This reduces the time spent in nir_opt_cse() by almost a half. The massif tool from callgrind reported no change in peak memory use with the large doliphin uber shaders I used for testing. Reviewed-by: Thomas Helland<thomashelland90@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>