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_sse2.c | |
parent | bf3930453cb85977510863e5cfba8487e09c093e (diff) |
tgsi: Fix build -- rename Size to NrTokens.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_sse2.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_sse2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index cac44af7f41..481ba89c5e7 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c +++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c @@ -2671,7 +2671,7 @@ tgsi_emit_sse2( case TGSI_TOKEN_TYPE_IMMEDIATE: /* simply copy the immediate values into the next immediates[] slot */ { - 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); |