[Mesa-dev] [PATCH 00/12] i965: Generate NIR at link time

Kenneth Graunke kenneth at whitecape.org
Wed Apr 8 00:06:23 PDT 2015


Hello,

This series makes i965 generate NIR at link time (or ProgramStringNotify
time for ARB programs), rather than on each FS/VS compile.  This means
we only do it once, rather than for SIMD8 and again for SIMD16 programs.
It also means we can avoid it when doing state based recompiles.

It speeds up shader-db on my Broadwell by about 9.4%.

It also adds INTEL_DEBUG=ann support, now that we keep a persistent copy
of the NIR program around for the annotations to refer to.

Available in the 'nir-link' branch of ~kwg/mesa.

--Ken



More information about the mesa-dev mailing list