summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/llvmtgsi.cpp
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-17 13:38:53 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-10-24 11:21:04 -0400
commit3c558e17f03a9813d905e7dc38b59ff0ad142ee9 (patch)
tree1a461b4a242dc0065d9e428ede2f01897ae8a47c /src/mesa/pipe/llvm/llvmtgsi.cpp
parent7abe3364b2c463fd3e96c2bc9d07aaa91bcfbc2c (diff)
Implement dph opcode
Diffstat (limited to 'src/mesa/pipe/llvm/llvmtgsi.cpp')
-rw-r--r--src/mesa/pipe/llvm/llvmtgsi.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/llvm/llvmtgsi.cpp b/src/mesa/pipe/llvm/llvmtgsi.cpp
index 45bc96cb1a..9a5d3b8d9c 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.cpp
+++ b/src/mesa/pipe/llvm/llvmtgsi.cpp
@@ -263,7 +263,9 @@ translate_instruction(llvm::Module *module,
break;
case TGSI_OPCODE_RCC:
break;
- case TGSI_OPCODE_DPH:
+ case TGSI_OPCODE_DPH: {
+ out = instr->dph(inputs[0], inputs[1]);
+ }
break;
case TGSI_OPCODE_COS:
break;