cell: checkpoint: support for function calls in SPU shaders
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 26 Sep 2008 15:38:40 +0000 (09:38 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 26 Sep 2008 16:15:35 +0000 (10:15 -0600)
commit164fb1299e1614ce05ae539d832567469eedb402
tree139284449776638aa2d0372eb6c36d7ec7f333a2
parentf5127909fb0386c2c11a2c26886eb02808ed514e
cell: checkpoint: support for function calls in SPU shaders

Will be used for instructions like SIN/COS/POW/TEX/etc.  The PPU needs to
know the address of some functions in the SPU address space.  Send that
info to the PPU/main memory rather than patch up shaders on the SPU side.
Not finished/tested yet...
src/gallium/drivers/cell/common.h
src/gallium/drivers/cell/ppu/cell_context.h
src/gallium/drivers/cell/ppu/cell_gen_fp.c
src/gallium/drivers/cell/ppu/cell_spu.c
src/gallium/drivers/cell/spu/Makefile
src/gallium/drivers/cell/spu/spu_funcs.c [new file with mode: 0644]
src/gallium/drivers/cell/spu/spu_funcs.h [new file with mode: 0644]
src/gallium/drivers/cell/spu/spu_main.c