summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/storagesoa.cpp
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2008-02-13 00:48:08 -0500
committerZack Rusin <zack@tungstengraphics.com>2008-02-13 00:48:08 -0500
commit4c8456264ca9c826165c41810b20dfbfbfb322e3 (patch)
treefdb016ed0a0f158b74d51db48d48fecad3cf24d6 /src/mesa/pipe/llvm/storagesoa.cpp
parent53c2963b84f7a8538d2a2c67e3fbb8a22f644c57 (diff)
get mov working
Diffstat (limited to 'src/mesa/pipe/llvm/storagesoa.cpp')
-rw-r--r--src/mesa/pipe/llvm/storagesoa.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/pipe/llvm/storagesoa.cpp b/src/mesa/pipe/llvm/storagesoa.cpp
index 786511204a..ef14e29bfe 100644
--- a/src/mesa/pipe/llvm/storagesoa.cpp
+++ b/src/mesa/pipe/llvm/storagesoa.cpp
@@ -68,9 +68,9 @@ std::vector<llvm::Value*> StorageSoa::inputElement(int idx, int swizzle,
std::vector<llvm::Value*> res(4);
res[0] = element(m_input, idx, 0);
- res[1] = element(m_input, idx, 0);
- res[2] = element(m_input, idx, 0);
- res[3] = element(m_input, idx, 0);
+ res[1] = element(m_input, idx, 1);
+ res[2] = element(m_input, idx, 2);
+ res[3] = element(m_input, idx, 3);
return res;
}
@@ -89,9 +89,9 @@ std::vector<llvm::Value*> StorageSoa::outputElement(int idx, int swizzle,
std::vector<llvm::Value*> res(4);
res[0] = element(m_output, idx, 0);
- res[1] = element(m_output, idx, 0);
- res[2] = element(m_output, idx, 0);
- res[3] = element(m_output, idx, 0);
+ res[1] = element(m_output, idx, 1);
+ res[2] = element(m_output, idx, 2);
+ res[3] = element(m_output, idx, 3);
return res;
}