aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/spu
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-28 14:03:51 -0600
committerBrian Paul <[email protected]>2008-10-28 14:03:51 -0600
commitdb680ac0e3697ecc2c2dbd5f22c4c2fdb136b62c (patch)
tree6d1b0e38ac3dbc1165b6c3ae4c987a1487f3f5c7 /src/gallium/drivers/cell/spu
parentc46583416a749f2e7f76a1eaadb54a8b9e76fb11 (diff)
cell: fix a number of fence issues
Plus add assertions to check status, alignment, etc.
Diffstat (limited to 'src/gallium/drivers/cell/spu')
-rw-r--r--src/gallium/drivers/cell/spu/spu_command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_command.c b/src/gallium/drivers/cell/spu/spu_command.c
index a6ed29ea631..63818d4c46a 100644
--- a/src/gallium/drivers/cell/spu/spu_command.c
+++ b/src/gallium/drivers/cell/spu/spu_command.c
@@ -107,7 +107,7 @@ cmd_fence(struct cell_command_fence *fence_cmd)
CELL_FENCE_SIGNALLED};
uint *dst = (uint *) fence_cmd->fence;
dst += 4 * spu.init.id; /* main store/memory address, not local store */
-
+ ASSERT_ALIGN16(dst);
mfc_put((void *) &status, /* src in local memory */
(unsigned int) dst, /* dst in main memory */
sizeof(status), /* size */