Summary: | malloc() error when compiling shader | ||
---|---|---|---|
Product: | Mesa | Reporter: | Kevin Shanahan <kevin> |
Component: | Drivers/DRI/i965 | Assignee: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 19.0 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Test program to reproduce the error. |
Description
Kevin Shanahan
2019-04-29 00:41:01 UTC
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... (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. Thanks, I can confirm that this is fixed in master. As per comment #3, I'm resolving this as fixed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.