[Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 8 03:11:43 UTC 2016


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

--- Comment #7 from Roland Scheidegger <sroland at vmware.com> ---
On second look, I am actually wondering if that commit really is doing the
right thing. Shouldn't we try to set the alignment on the struct itself
instead? And regardless, if someone uses an ordinary malloc for it it's not
going to be aligned anyway (meaning if it's passed to drivers somewhere and the
called functions are relying on this to be aligned they might be in for some
surprise).

(That said I have no idea if this is really related to this bug.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160708/984dba99/attachment.html>


More information about the dri-devel mailing list