https://bugs.freedesktop.org/show_bug.cgi?id=76223
--- Comment #13 from Aaron Watry awatry@gmail.com --- Created attachment 102163 --> https://bugs.freedesktop.org/attachment.cgi?id=102163&action=edit Possible fix for luxmark segfault
The luxrays kernels used an __attribute__(work_group_size_hint(64,1,1)) on several kernels. Mesa was not expecting kernels to have multiple operands in the LLVM metadata nodes (and an attribute is represented as an additional metadata node). This led to memory corruption and an LLVM error.
This patch fixes the piglit test case in attachment 101832 on CEDAR (r600g), and it probably helps radeonsi as well (which I can test later).
This same patch will be sent to the mesa-dev list momentarily.