<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UnrealEngine v4 demos startup (CS compilation) never finishes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98455#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UnrealEngine v4 demos startup (CS compilation) never finishes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98455">bug 98455</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>VehicleGame demo also uses CS, and also freezes at startup, also with today's
Mesa git version.

One minute period of perf recording shows process 100% CPU usage being split
like this (i.e. it's compiling compute shader forever, like with others):

# Overhead  Command          Shared Object    Symbol
# ........  ...............  .......................
37.66%  i965_dri.so   ra_add_node_adjacency
18.93%  i965_dri.so   ra_allocate
 8.14%  i965_dri.so   brw::fs_live_variables::compute_start_end
 7.46%  i965_dri.so   fs_visitor::virtual_grf_interferes
 6.75%  i965_dri.so   decrement_q.isra.2
 5.40%  i965_dri.so   fs_visitor::assign_regs
 4.77%  i965_dri.so   ra_add_node_interference
 1.80%  libc-2.23.so  __memcpy_sse2
 1.74%  i965_dri.so   brw::fs_live_variables::compute_live_variables
 1.21%  libc-2.23.so  _int_malloc
 0.69%  libc-2.23.so  realloc

Some of the other UnrealEngine v4 demos have also few compute shaders, this
issue happens only with the ones where Mesa outputs this warning:
Unsupported form of variable indexing in CS; falling back to very inefficient
code generation

(Freeze doesn't happen in CSDof test which also outputs that warning couple of
times, though.)</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>