diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-11-16 20:32:05 +0100 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-11-16 20:32:05 +0100 |
commit | 7b0e0e1a0d571291851e8a7b2e64c8425055cd69 (patch) | |
tree | a8ef37b0b11776f3c4b78702b05bd914d9a023da /src/gallium/auxiliary/gallivm/storage.cpp | |
parent | 96ad8a36003a21180ad6b61aa0b7d7c9452b3449 (diff) | |
download | external_mesa3d-7b0e0e1a0d571291851e8a7b2e64c8425055cd69.zip external_mesa3d-7b0e0e1a0d571291851e8a7b2e64c8425055cd69.tar.gz external_mesa3d-7b0e0e1a0d571291851e8a7b2e64c8425055cd69.tar.bz2 |
gallivm: fix some small stuff.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/storage.cpp')
-rw-r--r-- | src/gallium/auxiliary/gallivm/storage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/storage.cpp b/src/gallium/auxiliary/gallivm/storage.cpp index 6f373f6..73df24c 100644 --- a/src/gallium/auxiliary/gallivm/storage.cpp +++ b/src/gallium/auxiliary/gallivm/storage.cpp @@ -323,7 +323,7 @@ llvm::Value * Storage::elemIdx(llvm::Value *ptr, int idx, if (indIdx) { getElem = GetElementPtrInst::Create(ptr, - BinaryOperator::create(Instruction::Add, + BinaryOperator::Create(Instruction::Add, indIdx, constantInt(idx), name("add"), |