diff options
author | Michal Krol <[email protected]> | 2009-02-10 15:16:35 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-02-10 15:16:35 +0100 |
commit | a872b518c9179f7ee639feb4de81c62fbf25f4f6 (patch) | |
tree | bb71739c2b8a0f3c60d27f3d193f53247346c40d | |
parent | e3028baff2a313baac4a5aea494532605bb8f37a (diff) |
gallivm: Fix build -- rename Size to NrTokens.
-rw-r--r-- | src/gallium/auxiliary/gallivm/tgsitollvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/tgsitollvm.cpp b/src/gallium/auxiliary/gallivm/tgsitollvm.cpp index 6b18a68fe66..5b08200d142 100644 --- a/src/gallium/auxiliary/gallivm/tgsitollvm.cpp +++ b/src/gallium/auxiliary/gallivm/tgsitollvm.cpp @@ -160,7 +160,7 @@ translate_immediate(Storage *storage, { float vec[4]; int i; - for (i = 0; i < imm->Immediate.Size - 1; ++i) { + for (i = 0; i < imm->Immediate.NrTokens - 1; ++i) { switch (imm->Immediate.DataType) { case TGSI_IMM_FLOAT32: vec[i] = imm->u.ImmediateFloat32[i].Float; @@ -179,7 +179,7 @@ translate_immediateir(StorageSoa *storage, { float vec[4]; int i; - for (i = 0; i < imm->Immediate.Size - 1; ++i) { + for (i = 0; i < imm->Immediate.NrTokens - 1; ++i) { switch (imm->Immediate.DataType) { case TGSI_IMM_FLOAT32: vec[i] = imm->u.ImmediateFloat32[i].Float; |