diff options
author | Tobias Klausmann <[email protected]> | 2014-07-08 04:19:13 +0200 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-08 19:41:00 -0400 |
commit | a9b21015f5e3a6a37e53a8b3c755519f7b70479e (patch) | |
tree | 8d8534a6853c03d67c08cdcffc4fe20f831a48dc /src/mesa/main/genmipmap.c | |
parent | 503391b46f753e1f8c0bc771776a51719d0507e4 (diff) |
nv50/ir: use unordered_set instead of list to keep track of var uses
The set of variable uses does not need to be ordered in any way, and
removing/adding elements is a fairly common operation in various
optimization passes.
This shortens runtime of piglit test fp-long-alu to ~22s from ~4h
Signed-off-by: Tobias Klausmann <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main/genmipmap.c')
0 files changed, 0 insertions, 0 deletions