mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
r300/compiler: align memory allocations to 8-bytes
Eliminates unaligned accesses on strict architectures. Spotted by Jay
Estabrook.
Signed-off-by: Matt Turner <mattst88@gmail.com>
NOTE: This is a candidate for the 7.10 branch.
(cherry picked from commit 86852236a3)
This commit is contained in:
parent
348779a1fc
commit
b6bca28113
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
#define POOL_LARGE_ALLOC 4096
|
||||
#define POOL_ALIGN 4
|
||||
#define POOL_ALIGN 8
|
||||
|
||||
|
||||
struct memory_block {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue