summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/llvmtgsi.cpp
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-10-18 05:51:01 -0400
committerZack Rusin <[email protected]>2007-10-24 11:21:04 -0400
commit1c955171c84f5d062f5f0be983de636a1817c6f7 (patch)
tree889721ce994dc41c0968f5c7016e59e9101e888e /src/mesa/pipe/llvm/llvmtgsi.cpp
parentbd38f4d92125e648b276344ebb2ab9d517b3e7a5 (diff)
Implement ex2 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 91c2d9beb8e..5ad45ff6ccf 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.cpp
+++ b/src/mesa/pipe/llvm/llvmtgsi.cpp
@@ -249,7 +249,9 @@ translate_instruction(llvm::Module *module,
break;
case TGSI_OPCODE_ROUND:
break;
- case TGSI_OPCODE_EXPBASE2:
+ case TGSI_OPCODE_EXPBASE2: {
+ out = instr->ex2(inputs[0]);
+ }
break;
case TGSI_OPCODE_LOGBASE2:
break;