diff options
author | Ian Romanick <idr@us.ibm.com> | 2008-02-15 11:03:54 -0800 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2008-02-15 11:03:54 -0800 |
commit | 3320b1874e810583f95b93a89697b2955987b84f (patch) | |
tree | eb5728ced047307ea59302ed77588c9457ccdd2a /src/gallium/drivers/cell/ppu/cell_context.h | |
parent | 71071b7a9e8e9cdd3ef9648e70bde04507516765 (diff) |
Cell: Enable code gen for SPE attribute fetch
Doubles are still unsupported.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_context.h')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_context.h b/src/gallium/drivers/cell/ppu/cell_context.h index 6196c0c72f..91f8e542a2 100644 --- a/src/gallium/drivers/cell/ppu/cell_context.h +++ b/src/gallium/drivers/cell/ppu/cell_context.h @@ -36,6 +36,7 @@ #include "draw/draw_vbuf.h" #include "cell_winsys.h" #include "cell/common.h" +#include "ppc/rtasm/spe_asm.h" struct cell_vbuf_render; @@ -111,6 +112,9 @@ struct cell_context /** [4] to ensure 16-byte alignment for each status word */ uint buffer_status[CELL_MAX_SPUS][CELL_NUM_BUFFERS][4] ALIGN16_ATTRIB; + + struct spe_function attrib_fetch; + unsigned attrib_fetch_offsets[PIPE_ATTRIB_MAX]; }; |