[Mesa-dev] [PATCH] scons: add TARGET_ARCH option

2010-10-01 Thread Aras Pranckevicius
Hi, When building with SCons+MSVC, it defaults to host architecture. So on 64 bit windows 64 bit Mesa is built. Attached patch adds SCons' TARGET_ARCH option; passing TARGET_ARCH=x86 allows building 32 bit Mesa on 64 bit host. -- Aras Pranckevičius work: http://unity3d.com home:

[Mesa-dev] Improve scons error reporting

2010-10-01 Thread Jorge Villaseñor
Hi I have tried to build mesa using scons with drivers=llvmpipe and llvm=yes options in a box without llvm and the only thing I got was a python backtrace. I think it would be helpful to catch that exception an prompt a user friendly llvm can't be found. I guess the whole build system have the

[Mesa-dev] [PATCH] i965g: use Elements macro instead of manual sizeofs

2010-10-01 Thread Nicolas Kaiser
Signed-off-by: Nicolas Kaiser ni...@nikai.net --- src/gallium/drivers/i965/intel_decode.c | 20 +++- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/src/gallium/drivers/i965/intel_decode.c b/src/gallium/drivers/i965/intel_decode.c index bd8b917..36c04a3 100644

Re: [Mesa-dev] [PATCH] i965g: use Elements macro instead of manual sizeofs

2010-10-01 Thread Brian Paul
On 10/01/2010 02:39 PM, Nicolas Kaiser wrote: Signed-off-by: Nicolas Kaiserni...@nikai.net --- src/gallium/drivers/i965/intel_decode.c | 20 +++- 1 files changed, 7 insertions(+), 13 deletions(-) Committed. Thanks! -Brian ___