projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3028ba
)
gallivm: Fix build -- rename Size to NrTokens.
author
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:16:35 +0000
(15:16 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:16:35 +0000
(15:16 +0100)
src/gallium/auxiliary/gallivm/tgsitollvm.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/tgsitollvm.cpp
b/src/gallium/auxiliary/gallivm/tgsitollvm.cpp
index 6b18a68fe66a55530aa62a8c896db7dfb9f5855a..5b08200d1424c4185eecdf61c4d13b09a84f535f 100644
(file)
--- 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;