diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-02-01 16:25:42 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-02-01 16:25:42 -0700 |
commit | 8bd566a9cb8bb01ef5ce9c526047bafc0fbf0aef (patch) | |
tree | b54f66cc4cbd41c8724f30ddf131ed64b4a189f4 /src/mesa/pipe/cell/spu/spu_main.h | |
parent | d7c2eb0df47bd79291172727539b99331a3c6724 (diff) |
Cell: use global color_shuffle to remove a switch stmnt
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_main.h')
-rw-r--r-- | src/mesa/pipe/cell/spu/spu_main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_main.h b/src/mesa/pipe/cell/spu/spu_main.h index cce5e70802..7a12715b0b 100644 --- a/src/mesa/pipe/cell/spu/spu_main.h +++ b/src/mesa/pipe/cell/spu/spu_main.h @@ -107,6 +107,9 @@ struct spu_global ubyte ctile_status[MAX_HEIGHT/TILE_SIZE][MAX_WIDTH/TILE_SIZE] ALIGN16_ATTRIB; ubyte ztile_status[MAX_HEIGHT/TILE_SIZE][MAX_WIDTH/TILE_SIZE] ALIGN16_ATTRIB; + + /** for converting RGBA to PIPE_FORMAT_x colors */ + vector unsigned char color_shuffle; } ALIGN16_ATTRIB; |