<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - malloc() error when compiling shader"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110541#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - malloc() error when compiling shader"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110541">bug 110541</a>
              from <span class="vcard"><a class="email" href="mailto:kevin@shanahan.id.au" title="Kevin Shanahan <kevin@shanahan.id.au>"> <span class="fn">Kevin Shanahan</span></a>
</span></b>
        <pre>(In reply to Kenneth Graunke from <a href="show_bug.cgi?id=110541#c1">comment #1</a>)
<span class="quote">> Hi Kevin,

> I believe I fixed this bug a little while ago on Mesa master.  We made some
> pretty invasive changes to how we handled samples in structs, and it broke
> some things.  I'm trying to get the fixes backported to 19.x but
> unfortunately missed 19.0.3...</span >

This may or may not still be relevant (haven't figured out all the things I
need to try out master branch), but I got as far as finding an out-of-bounds
write in brw_nir_setup_glsl_uniform().  I added:

  assert(uniform_index < stage_prog_data->nr_params);

Just before:

  stage_prog_data->param[uniform_index++] = BRW_PARAM_UNIFORM(idx);

And this assert does fire.  But I think I'll try building master before going
any further with debugging this.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>