summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/spu_tile.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-01 13:45:58 -0700
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:28 +1100
commit7a0099b9f3f4cbdb0893a3f11da84326dcf86179 (patch)
tree4c67e38fae900eac0ae4b5bf69bec692397fb5db /src/mesa/pipe/cell/spu/spu_tile.h
parent4f7dcb0e04cbdb95684bf415133c0e7861839f96 (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 1f123a2b7b..4b1ef2a4c8 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;