summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_quad.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-01-12 11:47:37 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-01-12 12:11:04 +0000
commit5dfd5ed5e7d23d4ee8572669af2673c3a1315763 (patch)
treefeb157bb65340d56f71e1db3b19ad54d1b66d3e5 /src/gallium/drivers/llvmpipe/lp_quad.h
parent86bfe974b880dc2cbf40b91ba0fde34e8a9c756e (diff)
gallium: Simplify PIPE_ALIGN_VAR.
gcc allows pre-fix variable attributes. Suggested by Ian Romanick.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_quad.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_quad.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_quad.h b/src/gallium/drivers/llvmpipe/lp_quad.h
index eb285e355e..c3a48700a4 100644
--- a/src/gallium/drivers/llvmpipe/lp_quad.h
+++ b/src/gallium/drivers/llvmpipe/lp_quad.h
@@ -84,7 +84,7 @@ struct quad_header_inout
struct quad_header_output
{
/** colors in SOA format (rrrr, gggg, bbbb, aaaa) */
- PIPE_ALIGN_VAR(16, float color[PIPE_MAX_COLOR_BUFS][NUM_CHANNELS][QUAD_SIZE]);
+ PIPE_ALIGN_VAR(16) float color[PIPE_MAX_COLOR_BUFS][NUM_CHANNELS][QUAD_SIZE];
};
@@ -93,9 +93,9 @@ struct quad_header_output
*/
struct quad_interp_coef
{
- PIPE_ALIGN_VAR(16, float a0[1 + PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS]);
- PIPE_ALIGN_VAR(16, float dadx[1 + PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS]);
- PIPE_ALIGN_VAR(16, float dady[1 + PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS]);
+ PIPE_ALIGN_VAR(16) float a0[1 + PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS];
+ PIPE_ALIGN_VAR(16) float dadx[1 + PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS];
+ PIPE_ALIGN_VAR(16) float dady[1 + PIPE_MAX_SHADER_INPUTS][NUM_CHANNELS];
};