diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-01-12 11:47:37 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-01-12 12:11:04 +0000 |
commit | 5dfd5ed5e7d23d4ee8572669af2673c3a1315763 (patch) | |
tree | feb157bb65340d56f71e1db3b19ad54d1b66d3e5 /src/gallium/drivers/cell/spu/spu_render.c | |
parent | 86bfe974b880dc2cbf40b91ba0fde34e8a9c756e (diff) |
gallium: Simplify PIPE_ALIGN_VAR.
gcc allows pre-fix variable attributes.
Suggested by Ian Romanick.
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_render.c')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_render.c b/src/gallium/drivers/cell/spu/spu_render.c index b13fe3184f..14987e3c3a 100644 --- a/src/gallium/drivers/cell/spu/spu_render.c +++ b/src/gallium/drivers/cell/spu/spu_render.c @@ -169,7 +169,7 @@ void cmd_render(const struct cell_command_render *render, uint *pos_incr) { /* we'll DMA into these buffers */ - PIPE_ALIGN_VAR(16, ubyte vertex_data[CELL_BUFFER_SIZE]); + PIPE_ALIGN_VAR(16) ubyte vertex_data[CELL_BUFFER_SIZE]; const uint vertex_size = render->vertex_size; /* in bytes */ /*const*/ uint total_vertex_bytes = render->num_verts * vertex_size; uint index_bytes; |