Skip to content
Snippets Groups Projects
Commit d8d6091a authored by Chuck Atkins's avatar Chuck Atkins Committed by Tim Rowley
Browse files

gallium: Force blend color to 16-byte alignment


This aligns the 4-element color float array to 16 byte boundaries.  This
should allow compiler vectorizers to generate better optimizations.
Also fixes broken vectorization generated by Intel compiler.

v2: Fixed indentation and added a lengthy comment explaining the
    reason for the alignment.

Cc: <mesa-stable@lists.freedesktop.org>
Reported-by: default avatarTim Rowley <timothy.o.rowley@intel.com>
Tested-by: default avatarTim Rowley <timothy.o.rowley@intel.com>
Signed-off-by: default avatarChuck Atkins <chuck.atkins@kitware.com>
Acked-by: default avatarRoland Scheidegger <sroland@vmware.com>
parent c1bf6692
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment