summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-11 08:47:13 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-12-11 09:00:01 -0700
commit9f0e5642d80d746aa757a1e67dec15b0fd404e5d (patch)
treef9c578626f6af5e89d55281649c05e2df59063d6 /src/mesa/pipe/cell/spu
parent1bc303283e85ac15e74af1a2297166d87986e15e (diff)
use ALIGN16_ATTRIB from p_compiler.h
Diffstat (limited to 'src/mesa/pipe/cell/spu')
-rw-r--r--src/mesa/pipe/cell/spu/main.c4
-rw-r--r--src/mesa/pipe/cell/spu/tri.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/cell/spu/main.c b/src/mesa/pipe/cell/spu/main.c
index f2c6d31d3c..83880bc906 100644
--- a/src/mesa/pipe/cell/spu/main.c
+++ b/src/mesa/pipe/cell/spu/main.c
@@ -114,7 +114,7 @@ clear_tiles(const struct cell_command_clear_tiles *clear)
{
uint num_tiles = fb.width_tiles * fb.height_tiles;
uint i;
- uint tile[TILE_SIZE * TILE_SIZE] ALIGN16;
+ uint tile[TILE_SIZE * TILE_SIZE] ALIGN16_ATTRIB;
for (i = 0; i < TILE_SIZE * TILE_SIZE; i++)
tile[i] = clear->value;
@@ -161,7 +161,7 @@ triangle(const struct cell_command_triangle *tri)
static void
main_loop(void)
{
- struct cell_command cmd ALIGN16;
+ struct cell_command cmd;
int exitFlag = 0;
printf("SPU %u: Enter main loop\n", init.id);
diff --git a/src/mesa/pipe/cell/spu/tri.c b/src/mesa/pipe/cell/spu/tri.c
index 793bf55743..60a62fdcd5 100644
--- a/src/mesa/pipe/cell/spu/tri.c
+++ b/src/mesa/pipe/cell/spu/tri.c
@@ -66,7 +66,7 @@
static int cliprect_minx, cliprect_maxx, cliprect_miny, cliprect_maxy;
-static uint tile[TILE_SIZE][TILE_SIZE] ALIGN16;
+static uint tile[TILE_SIZE][TILE_SIZE] ALIGN16_ATTRIB;
#endif