Re: [Mesa-dev] [PATCH 0/1] Use a freelist in nir_opt_dce

2017-12-02 Thread Thomas Helland
2017-12-02 15:49 GMT+01:00 Thomas Helland : > This patch tries to reduce the number of calls to ralloc in nir_opt_dce. > Especially with scalarized shaders we have a bunch of calls to ralloc > in this pass, hurting us quite bad. See the commit message for details. > > The other large caller to rall

[Mesa-dev] [PATCH 0/1] Use a freelist in nir_opt_dce

2017-12-02 Thread Thomas Helland
This patch tries to reduce the number of calls to ralloc in nir_opt_dce. Especially with scalarized shaders we have a bunch of calls to ralloc in this pass, hurting us quite bad. See the commit message for details. The other large caller to ralloc is nir_alu_instr_create, and it would be nice if w