diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-11 17:59:52 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-11 17:59:52 -0600 |
commit | aa66f08a21b791f338b519f0c2162cd8f7b3aeb0 (patch) | |
tree | 1e8c8e2e01f98759b9ab073d340daca837b65932 /src/gallium/drivers/cell/ppu/cell_context.h | |
parent | dbbbc333442c160b2801062e92c6c5931b64390a (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_context.h')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_context.h b/src/gallium/drivers/cell/ppu/cell_context.h index 8cec9f45b2..14914b9c6f 100644 --- a/src/gallium/drivers/cell/ppu/cell_context.h +++ b/src/gallium/drivers/cell/ppu/cell_context.h @@ -61,6 +61,7 @@ struct cell_fragment_shader_state { struct pipe_shader_state shader; struct tgsi_shader_info info; + struct spe_function code; void *data; }; |