Cell: move float4 typedef (temporary datatype)
authorBrian <brian.paul@tungstengraphics.com>
Mon, 4 Feb 2008 23:48:36 +0000 (16:48 -0700)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:30 +0000 (13:50 +1100)
src/mesa/pipe/cell/spu/spu_main.h
src/mesa/pipe/cell/spu/spu_tri.c

index cfd4d72..1710a17 100644 (file)
 #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];
index 4c6de56..688c864 100644 (file)
 /** 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