cell: initial support for fragment shader code generation.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 Sep 2008 23:59:52 +0000 (17:59 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 Sep 2008 23:59:52 +0000 (17:59 -0600)
commitaa66f08a21b791f338b519f0c2162cd8f7b3aeb0
tree1e8c8e2e01f98759b9ab073d340daca837b65932
parentdbbbc333442c160b2801062e92c6c5931b64390a
cell: initial support for fragment shader code generation.

TGSI shaders are translated into SPE instructions which are then sent to
the SPEs for execution.  Only a few opcodes work, no swizzling yet, no
support for constants/immediates, etc.
src/gallium/drivers/cell/common.h
src/gallium/drivers/cell/ppu/Makefile
src/gallium/drivers/cell/ppu/cell_context.h
src/gallium/drivers/cell/ppu/cell_gen_fp.c [new file with mode: 0644]
src/gallium/drivers/cell/ppu/cell_gen_fp.h [new file with mode: 0644]
src/gallium/drivers/cell/ppu/cell_state_emit.c
src/gallium/drivers/cell/ppu/cell_state_shader.c
src/gallium/drivers/cell/spu/spu_main.c
src/gallium/drivers/cell/spu/spu_main.h
src/gallium/drivers/cell/spu/spu_tri.c