diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-10-17 13:38:53 -0400 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2007-10-24 11:21:04 -0400 |
commit | 3c558e17f03a9813d905e7dc38b59ff0ad142ee9 (patch) | |
tree | 1a461b4a242dc0065d9e428ede2f01897ae8a47c /src/mesa/pipe/llvm/llvmtgsi.cpp | |
parent | 7abe3364b2c463fd3e96c2bc9d07aaa91bcfbc2c (diff) |
Implement dph opcode
Diffstat (limited to 'src/mesa/pipe/llvm/llvmtgsi.cpp')
-rw-r--r-- | src/mesa/pipe/llvm/llvmtgsi.cpp | 4 |
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; |