<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Implement a NIR -> vec4 pass"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89580#c34">Comment # 34</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Implement a NIR -> vec4 pass"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89580">bug 89580</a>
              from <span class="vcard"><a class="email" href="mailto:elima@igalia.com" title="Eduardo Lima Mitev <elima@igalia.com>"> <span class="fn">Eduardo Lima Mitev</span></a>
</span></b>
        <pre>A little update:

The backend is already upstream. Jason reviewed the series and after some
polishing, he pushed it upstream himself (thanks!).

There were some regressions on gen4, gen5 and gen8 which we (the Igalia team)
couldn't detect due to lack of available HW. However Jason sent a mini-series
fixing all these issues
<<a href="http://lists.freedesktop.org/archives/mesa-dev/2015-August/090617.html">http://lists.freedesktop.org/archives/mesa-dev/2015-August/090617.html</a>>. With
these patches, the backend can be considered to have 0 regressions on all Intel
gens.

Now we have started work on improving quality of emitted code, so that we don't
perform worse than vec4_visitor. This is a requirement to activate the backend
by default.

I think we can keep this bug open to track this work too, but I'm ok with
closing this and opening a new one just for the optimization work.

For reference, this is more or less where we stand today comparing the NIR-vec4
path against non-NIR, on HSW:

total instructions in shared programs: 1853749 -> 1838155 (-0.84%)
instructions in affected programs:     1707212 -> 1691618 (-0.91%)
helped:                                5310
HURT:                                  13531
GAINED:                                0
LOST:                                  0

In the coming days week, we are going to work on identifying optimization
opportunities and implementing them. We will create a series of patches, and at
some point submit them to mesa-dev for review. If you want to follow progress
or do early testing, we will be pushing to this branch:
<a href="https://github.com/Igalia/mesa/tree/nir-vec4-quality">https://github.com/Igalia/mesa/tree/nir-vec4-quality</a>

cheers</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>