diff options
author | Michal Krol <[email protected]> | 2009-02-10 15:14:31 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-02-10 15:14:31 +0100 |
commit | 5ecd0b0890fd48656e46c017830a9f5d6b906aae (patch) | |
tree | 993227820e0f1e9071fe64a11701d198310ffb30 /src/gallium/auxiliary/tgsi/tgsi_ppc.c | |
parent | bf3930453cb85977510863e5cfba8487e09c093e (diff) |
tgsi: Fix build -- rename Size to NrTokens.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ppc.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ppc.c b/src/gallium/auxiliary/tgsi/tgsi_ppc.c index 1a4db47501c..f365030e526 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ppc.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ppc.c @@ -1327,7 +1327,7 @@ tgsi_emit_ppc(const struct tgsi_token *tokens, case TGSI_TOKEN_TYPE_IMMEDIATE: /* splat each immediate component into a float[4] vector for SoA */ { - const uint size = parse.FullToken.FullImmediate.Immediate.Size - 1; + const uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; uint i; assert(size <= 4); assert(num_immediates < TGSI_EXEC_NUM_IMMEDIATES); |