diff options
author | José Fonseca <[email protected]> | 2010-01-12 11:47:37 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-01-12 12:11:04 +0000 |
commit | 5dfd5ed5e7d23d4ee8572669af2673c3a1315763 (patch) | |
tree | feb157bb65340d56f71e1db3b19ad54d1b66d3e5 /src/gallium/auxiliary/tgsi | |
parent | 86bfe974b880dc2cbf40b91ba0fde34e8a9c756e (diff) |
gallium: Simplify PIPE_ALIGN_VAR.
gcc allows pre-fix variable attributes.
Suggested by Ian Romanick.
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ppc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ppc.c b/src/gallium/auxiliary/tgsi/tgsi_ppc.c index cec5b11fd3e..ad553c71a57 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ppc.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ppc.c @@ -51,7 +51,8 @@ * Since it's pretty much impossible to form PPC vector immediates, load * them from memory here: */ -PIPE_ALIGN_VAR(16, const float ppc_builtin_constants[]) = { +PIPE_ALIGN_VAR(16) const float +ppc_builtin_constants[] = { 1.0f, -128.0f, 128.0, 0.0 }; |