diff options
author | Brian <[email protected]> | 2008-02-04 16:48:36 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-04 16:48:36 -0700 |
commit | 93d061b217e31d27a1c54e50a14538e94f1404d6 (patch) | |
tree | 1b781e223b97ef635a67188938ef28da23188e1f /src | |
parent | 1a75464cdc12a1e83f1452707cd624c53f808308 (diff) |
Cell: move float4 typedef (temporary datatype)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/pipe/cell/spu/spu_main.h | 7 | ||||
-rw-r--r-- | src/mesa/pipe/cell/spu/spu_tri.c | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_main.h b/src/mesa/pipe/cell/spu/spu_main.h index cfd4d727290..1710a175123 100644 --- a/src/mesa/pipe/cell/spu/spu_main.h +++ b/src/mesa/pipe/cell/spu/spu_main.h @@ -41,13 +41,6 @@ #define MAX_HEIGHT 1024 -typedef union -{ - vector float v; - float f[4]; -} float4; - - typedef union { ushort us[TILE_SIZE][TILE_SIZE]; uint ui[TILE_SIZE][TILE_SIZE]; diff --git a/src/mesa/pipe/cell/spu/spu_tri.c b/src/mesa/pipe/cell/spu/spu_tri.c index 4c6de56eda5..688c8646ab2 100644 --- a/src/mesa/pipe/cell/spu/spu_tri.c +++ b/src/mesa/pipe/cell/spu/spu_tri.c @@ -45,6 +45,12 @@ /** Masks are uint[4] vectors with each element being 0 or 0xffffffff */ typedef vector unsigned int mask_t; +typedef union +{ + vector float v; + float f[4]; +} float4; + /** * Simplified types taken from other parts of Gallium |