[Bug 110541] malloc() error when compiling shader

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 29 06:04:33 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110541

--- Comment #2 from Kevin Shanahan <kevin at shanahan.id.au> ---
(In reply to Kenneth Graunke from comment #1)
> 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...

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190429/fbbca868/attachment.html>


More information about the intel-3d-bugs mailing list