Comment # 13 on bug 76223 from
Created attachment 102163 [details] [review]
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 [details] 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.


You are receiving this mail because: