projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7297f2a
)
r300/compiler: align memory allocations to 8-bytes
author
Matt Turner
<mattst88@gmail.com>
Mon, 9 May 2011 04:17:05 +0000
(
00:17
-0400)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 9 May 2011 18:01:58 +0000
(20:01 +0200)
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.
src/mesa/drivers/dri/r300/compiler/memory_pool.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/compiler/memory_pool.c
b/src/mesa/drivers/dri/r300/compiler/memory_pool.c
index 76c7c60d8f56b4a2e34d13343b6c2dd97aa35dcf..ddcdddf9e3cb2c95c44441402c2e5ae1e2d5a546 100644
(file)
--- a/
src/mesa/drivers/dri/r300/compiler/memory_pool.c
+++ b/
src/mesa/drivers/dri/r300/compiler/memory_pool.c
@@
-28,7
+28,7
@@
#define POOL_LARGE_ALLOC 4096
-#define POOL_ALIGN
4
+#define POOL_ALIGN
8
struct memory_block {