[Bug 90925] "high fidelity": Segfault in _mesa_program_resource_find_name

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 12 05:11:26 PDT 2015


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

--- Comment #5 from Tapani Pälli <lemody at gmail.com> ---
OK, now I know what is going on. This is actually major issue with the current
implementation. Like said in comment #4, we are creating ProgramResourceList
too early. Backend driver will still do optimization and is still able to
remove dead code, thus removing variables that are in the resource list.

The solution is to move resource list creation up in the linking to happen only
after backend LinkShader hook and remove symbol table usage from the list
creation (symbol table usage was just optimization instead of iterating whole
IR to find variables).

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


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