<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [regression] WebGL demo iamnop.com/particles is very slow and spends far too long compiling shaders"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97035#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [regression] WebGL demo iamnop.com/particles is very slow and spends far too long compiling shaders"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97035">bug 97035</a>
              from <span class="vcard"><a class="email" href="mailto:eero.t.tamminen@intel.com" title="Eero Tamminen <eero.t.tamminen@intel.com>"> <span class="fn">Eero Tamminen</span></a>
</span></b>
        <pre>(In reply to Eero Tamminen from <a href="show_bug.cgi?id=97035#c3">comment #3</a>)
<span class="quote">> Tested this on SKL GT2 with today's Mesa.

> All the other shapes selectable in the WebGL demo load instantly and run
> well over 60FPS.  However, selecting the default "galaxy" shape takes ~20s
> and runs at ~2FPS.</span >

With Mesa 11.2, compilation takes only few seconds and "galaxy" runs at full
speed.

When comparing at the generated assembly, Mesa 11.2 spills a bit:
SIMD8 shader: 4432 instructions. 0 loops. 35394 cycles. 81:179 spills:fills.
Promoted 18 constants. Compacted 70912 to 48880 bytes (31%)

But the latest Mesa spills a lot more:
SIMD8 shader: 7985 instructions. 0 loops. 57210 cycles. 359:993 spills:fills.
Promoted 19 constants. Compacted 127760 to 86032 bytes (33%)

I'll try whether I can locate the regression in this with eZBench:
  <a href="https://cgit.freedesktop.org/ezbench/tree/README">https://cgit.freedesktop.org/ezbench/tree/README</a>


Note: When looking at the SIMD8 shader code generated by the Windows driver, it
doesn't spill at all.</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>