[Mesa3d-dev] [PATCH] fix cell build

2010-04-06 Thread Marc Dietrich
From: root compile fix for cell driver. --- src/gallium/drivers/cell/ppu/cell_screen.c |3 +++ src/gallium/drivers/cell/ppu/cell_texture.c |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/cell/ppu/cell_screen.c b/src/gallium/drivers/cell/ppu/cel

[Mesa3d-dev] fix the usual cell breakage

2010-02-06 Thread Marc Dietrich
also update the cell config a bit --- configs/linux-cell |6 ++-- src/gallium/drivers/cell/common.h |3 +- src/gallium/drivers/cell/spu/spu_per_fragment_op.c | 36 ++-- 3 files changed, 22 insertions(+), 23 deletions(-) di

[Mesa3d-dev] [PATCH] hack around commas in macro argument

2010-01-23 Thread Marc Dietrich
this is needed at least for gcc. dunno about the other compilers. --- src/gallium/include/pipe/p_compiler.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index 272d030..cdda20c 100644 ---

[Mesa3d-dev] [PATCH] fix build breakage

2010-01-02 Thread Marc Dietrich
commit c847a13d38d4e8c5f4c386d060dcc8ec09e491a3 caused the gallium build with autoconf/configure/make to fail. --- configs/autoconf.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configs/autoconf.in b/configs/autoconf.in index a7f3c9d..241ac99 100644 --- a/configs/aut

[Mesa3d-dev] [PATCH 2/2] fix compilation on cell

2009-10-18 Thread Marc Dietrich
This one was left over. --- src/gallium/drivers/cell/ppu/cell_gen_fp.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/cell/ppu/cell_gen_fp.c b/src/gallium/drivers/cell/ppu/cell_gen_fp.c index 312621f..b6b2f88 100644 --- a/src/gallium/drivers/cell/p

[Mesa3d-dev] [PATCH 0/2] fix compilation on cell

2009-10-18 Thread Marc Dietrich
The following two patches fix compilation on cell. I've tested them on my ps3 and they seem to work. The first patch is a little special and I'm not 100% sure if it's right - please take a look. Thanks! Marc -- Come buil

[Mesa3d-dev] [PATCH 1/2] fix cpu detection on ppc

2009-10-18 Thread Marc Dietrich
As we are compiling with -D_BSD_SOURCE, sigjmp_buf and siglongjmp should be replaced by the non-sig functions (see man 3 setjmp). Tested on linux/cell. --- src/gallium/auxiliary/util/u_cpu_detect.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/gallium/au

Re: [Mesa3d-dev] [PATCH] fix compilation on cell

2009-08-31 Thread Marc Dietrich
ups, please ignore the last patch. /me just learns to use git ... Marc -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and

[Mesa3d-dev] [PATCH] fix compilation on cell

2009-08-31 Thread Marc Dietrich
updates tgsi opcodes and fixes an assertion --- src/gallium/drivers/cell/common.h |2 +- src/gallium/drivers/cell/ppu/cell_gen_fp.c |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/cell/common.h b/src/gallium/drivers/cell/common.h inde

[Mesa3d-dev] [PATCH] fix 32bit cross compilation on a 64bit machine

2009-08-31 Thread Marc Dietrich
When cross compiling on a 64bit machine, gen_matypes.c is build for the host machine (64bit) but must generates code for the target machine (32bit). This causes wrong offsets all over the place and crashes googleearth on my machine. Solution is to add -m32 when cross compiling. Attached patch is c

[Mesa3d-dev] [PATCH] fix compilation on cell

2009-08-29 Thread Marc Dietrich
updates tgsi opcodes and fixes an assertion --- src/gallium/drivers/cell/common.h |2 +- src/gallium/drivers/cell/ppu/cell_gen_fp.c |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/cell/common.h b/src/gallium/drivers/cell/common.h inde