diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2008-02-13 00:36:31 -0500 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2008-02-13 00:36:31 -0500 |
commit | 53c2963b84f7a8538d2a2c67e3fbb8a22f644c57 (patch) | |
tree | f89d3eb5a16837b077d1cec3abc76aedeeed594e /src/mesa/pipe/llvm/storagesoa.cpp | |
parent | 9b6532f01b2e8a3ccc44d67d20a8f94f5de570e3 (diff) |
fix fetching input elements and generate a ret on end
Diffstat (limited to 'src/mesa/pipe/llvm/storagesoa.cpp')
-rw-r--r-- | src/mesa/pipe/llvm/storagesoa.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/pipe/llvm/storagesoa.cpp b/src/mesa/pipe/llvm/storagesoa.cpp index 8f82989cc5..786511204a 100644 --- a/src/mesa/pipe/llvm/storagesoa.cpp +++ b/src/mesa/pipe/llvm/storagesoa.cpp @@ -150,10 +150,7 @@ llvm::Value * StorageSoa::elementPointer(llvm::Value *ptr, int index, { std::vector<Value*> indices; indices.push_back(constantInt(index)); - indices.push_back(constantInt(0));//first element in the struct indices.push_back(constantInt(channel)); - indices.push_back(constantInt(0));//f channel - indices.push_back(constantInt(0));//first ptr in the f channel GetElementPtrInst *getElem = new GetElementPtrInst(ptr, indices.begin(), |