[Mesa-dev] [PATCH 0/2] Nir: Allow CSE of SSBO loads

Ilia Mirkin imirkin at alum.mit.edu
Thu Oct 22 09:09:46 PDT 2015


On Thu, Oct 22, 2015 at 9:39 AM, Connor Abbott <cwabbott0 at gmail.com> wrote:
> 2. Add a special "load-combining" pass that does some dataflow
> analysis or similar (or, for now, only looks at things within a single
> block).

FYI nouveau does this at a local level (i.e. per-bb), if you're
interested take a look at:
http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp#n1801
. A global pass would obviously be nice though.

  -ilia


More information about the mesa-dev mailing list