summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/tgsitollvm.cpp
diff options
context:
space:
mode:
authorZack Rusin <zack@pixel.(none)>2008-03-01 09:50:41 -0500
committerZack Rusin <zack@tungstengraphics.com>2008-03-01 15:28:00 -0500
commita9c40f833ead8459788b86603c7f2b94632b1109 (patch)
tree5ee93b8bd49ff289f4b9fdf90dbcec8ac05e24d5 /src/gallium/auxiliary/gallivm/tgsitollvm.cpp
parent17f543fc4529ca4ce7f73a840ed0fb50d1fec925 (diff)
refactor code calling builtins and implement dp4
Diffstat (limited to 'src/gallium/auxiliary/gallivm/tgsitollvm.cpp')
-rw-r--r--src/gallium/auxiliary/gallivm/tgsitollvm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/tgsitollvm.cpp b/src/gallium/auxiliary/gallivm/tgsitollvm.cpp
index a52ee26434..3f65865a5a 100644
--- a/src/gallium/auxiliary/gallivm/tgsitollvm.cpp
+++ b/src/gallium/auxiliary/gallivm/tgsitollvm.cpp
@@ -751,6 +751,7 @@ translate_instructionir(llvm::Module *module,
}
break;
case TGSI_OPCODE_DP4: {
+ out = instr->dp4(inputs[0], inputs[1]);
}
break;
case TGSI_OPCODE_DST: {