<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - INTEL_DEBUG=shader_time always asserts in fs_generator::generate_code() when Mesa is built with --enable-debug (= with asserts)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86974#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - INTEL_DEBUG=shader_time always asserts in fs_generator::generate_code() when Mesa is built with --enable-debug (= with asserts)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86974">bug 86974</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>Created <span class=""><a href="attachment.cgi?id=110789" name="attach_110789" title="Gdb output on second assert">attachment 110789</a> <a href="attachment.cgi?id=110789&action=edit" title="Gdb output on second assert">[details]</a></span>
Gdb output on second assert

(In reply to Matt Turner from <a href="show_bug.cgi?id=86974#c4">comment #4</a>)
<span class="quote">> This is fixed by my
>   [RFC 6/9] i965/fs: Remove force_writemask_all assertion for execsize < 8.
> patch from Oct 31.

> It's part of an RFC series, but it could go in separately. The only thing
> that makes me hesitate is that I don't know how the execution mask works
> exactly for instructions with execution size < shader dispatch width.</span >

If I remove that assert, the next assert the game hits with "shader_time" is
this:
witcher2: ../../../../../../src/mesa/drivers/dri/i965/brw_eu_emit.c:285:
validate_reg: Assertion `hstride == 0' failed.</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>