summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/tgsitollvm.cpp
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2008-02-14 03:08:48 -0500
committerZack Rusin <[email protected]>2008-02-15 01:17:17 -0500
commitae3375987fe9968f822442a0ce49b97f5f0a4070 (patch)
tree9c2693c530bb849f038c22318dc27377bf895a93 /src/mesa/pipe/llvm/tgsitollvm.cpp
parentd0364584bea6c57bb3ac8d616e677fb52b97ea98 (diff)
rename 'argument' to 'load' because that's what it does
Diffstat (limited to 'src/mesa/pipe/llvm/tgsitollvm.cpp')
-rw-r--r--src/mesa/pipe/llvm/tgsitollvm.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/pipe/llvm/tgsitollvm.cpp b/src/mesa/pipe/llvm/tgsitollvm.cpp
index 287a86c60cb..0c2c3a9a0ac 100644
--- a/src/mesa/pipe/llvm/tgsitollvm.cpp
+++ b/src/mesa/pipe/llvm/tgsitollvm.cpp
@@ -706,20 +706,20 @@ translate_instructionir(llvm::Module *module,
indIdx = storage->extractIndex(indIdx);
}
if (src->SrcRegister.File == TGSI_FILE_CONSTANT) {
- val = storage->argument(StorageSoa::Const,
- src->SrcRegister.Index, swizzle, indIdx);
+ val = storage->load(StorageSoa::Const,
+ src->SrcRegister.Index, swizzle, indIdx);
} else if (src->SrcRegister.File == TGSI_FILE_INPUT) {
- val = storage->argument(StorageSoa::Input,
- src->SrcRegister.Index, swizzle, indIdx);
+ val = storage->load(StorageSoa::Input,
+ src->SrcRegister.Index, swizzle, indIdx);
} else if (src->SrcRegister.File == TGSI_FILE_TEMPORARY) {
- val = storage->argument(StorageSoa::Temp,
- src->SrcRegister.Index, swizzle);
+ val = storage->load(StorageSoa::Temp,
+ src->SrcRegister.Index, swizzle);
} else if (src->SrcRegister.File == TGSI_FILE_OUTPUT) {
- val = storage->argument(StorageSoa::Output,
- src->SrcRegister.Index, swizzle, indIdx);
+ val = storage->load(StorageSoa::Output,
+ src->SrcRegister.Index, swizzle, indIdx);
} else if (src->SrcRegister.File == TGSI_FILE_IMMEDIATE) {
- val = storage->argument(StorageSoa::Immediate,
- src->SrcRegister.Index, swizzle);
+ val = storage->load(StorageSoa::Immediate,
+ src->SrcRegister.Index, swizzle);
} else {
fprintf(stderr, "ERROR: not supported llvm source %d\n", src->SrcRegister.File);
return;