Mesa (master): llvmpipe: Fix lp_test_format on 32bit OSes.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon May 24 15:41:58 UTC 2010
Module: Mesa
Branch: master
Commit: f7b57245cc4f12f63405d0dd1a66df14dcb70383
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7b57245cc4f12f63405d0dd1a66df14dcb70383
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon May 24 16:34:40 2010 +0100
llvmpipe: Fix lp_test_format on 32bit OSes.
---
src/gallium/drivers/llvmpipe/lp_test_format.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_test_format.c b/src/gallium/drivers/llvmpipe/lp_test_format.c
index 267f148..4dde323 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_format.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_format.c
@@ -136,7 +136,7 @@ test_format(unsigned verbose, FILE *fp,
LLVMValueRef fetch = NULL;
LLVMPassManagerRef pass = NULL;
fetch_ptr_t fetch_ptr;
- float unpacked[4];
+ PIPE_ALIGN_VAR(16) float unpacked[4];
boolean success;
unsigned i, j, k;
More information about the mesa-commit
mailing list