On Sat, May 17, 2008 at 12:24 PM, Marvin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> the linux-cell target is broken since end of April. Several defines are
> missing in spu_vertex_shader.c:
>
> make linux-cell
> ...
> spu-gcc -g -W -Wall -Winline -Wmissing-prototypes -Wno-main -I.
> -I/opt/ibm/cell-sdk/prototype/sysroot/usr/spu/include
> -I../../../../../src/mesa/ -I../../../../../src/mesa
> -I../../../../../src/gallium/include
> -I../../../../../src/gallium/auxiliary
> -I../../../../../src/gallium/drivers -include spu_intrinsics.h -c
> spu_vertex_shader.c
> spu_vertex_shader.c: In function 'compute_clipmask':
> spu_vertex_shader.c:55: error: 'CLIP_RIGHT_BIT' undeclared (first use in
> this function)
> spu_vertex_shader.c:55: error: (Each undeclared identifier is reported
> only once
> spu_vertex_shader.c:55: error: for each function it appears in.)
> spu_vertex_shader.c:56: error: 'CLIP_LEFT_BIT' undeclared (first use in
> this function)
> spu_vertex_shader.c:57: error: 'CLIP_TOP_BIT' undeclared (first use in
> this function)
> spu_vertex_shader.c:58: error: 'CLIP_BOTTOM_BIT' undeclared (first use
> in this function)
> spu_vertex_shader.c:59: error: 'CLIP_FAR_BIT' undeclared (first use in
> this function)
> spu_vertex_shader.c:60: error: 'CLIP_NEAR_BIT' undeclared (first use in
> this function)
> spu_vertex_shader.c:65: warning: implicit declaration of function 'dot4'
> spu_vertex_shader.c: In function 'run_vertex_program':
> spu_vertex_shader.c:115: error: 'MAX_VERTEX_SIZE' undeclared (first use
> in this function)
> spu_vertex_shader.c:114: warning: unused variable 'buffer'
> spu_vertex_shader.c: In function 'spu_bind_vertex_shader':
> spu_vertex_shader.c:186: warning: cast to pointer from integer of
> different size
> spu_vertex_shader.c:190: warning: cast to pointer from integer of
> different size
> make[6]: *** [spu_vertex_shader.o] Error 1
> make[6]: Leaving directory
>
> I added the defines for CLIP_* but I don't know about MAX_VERTEX_SIZE.

When I get caught up on other things I plan to update the Cell driver.
 For the time being you'll probably just have to use a working
snapshot from April-ish.

-Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to