aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/cell/spu/spu_tile.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-01 13:45:58 -0700
committerBrian <[email protected]>2008-02-01 14:04:55 -0700
commit59be082909de6021ec7d08476253bd4c9920e137 (patch)
tree0ae745d06ba803b94fba465d7ce11b3d7542274f /src/mesa/pipe/cell/spu/spu_tile.h
parentb108bea6b44c1abc6d61e3e47096e5122de89cd1 (diff)
Cell: implement Z16 and Z32 testing with SIMD instructions.
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_tile.h')
-rw-r--r--src/mesa/pipe/cell/spu/spu_tile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_tile.h b/src/mesa/pipe/cell/spu/spu_tile.h
index 1f123a2b7b4..4b1ef2a4c8d 100644
--- a/src/mesa/pipe/cell/spu/spu_tile.h
+++ b/src/mesa/pipe/cell/spu/spu_tile.h
@@ -42,7 +42,8 @@
typedef union {
ushort t16[TILE_SIZE][TILE_SIZE];
uint t32[TILE_SIZE][TILE_SIZE];
- float4 f4[TILE_SIZE/2][TILE_SIZE/2];
+ vector unsigned short us8[TILE_SIZE/2][TILE_SIZE/4];
+ vector unsigned int ui4[TILE_SIZE/2][TILE_SIZE/2];
} tile_t;