summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/llvmtgsi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/llvm/llvmtgsi.cpp')
-rw-r--r--src/mesa/pipe/llvm/llvmtgsi.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/pipe/llvm/llvmtgsi.cpp b/src/mesa/pipe/llvm/llvmtgsi.cpp
index 69d54bf9af..8983f16297 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.cpp
+++ b/src/mesa/pipe/llvm/llvmtgsi.cpp
@@ -306,11 +306,15 @@ translate_instruction(llvm::Module *module,
out = instr->pow(inputs[0], inputs[1]);
}
break;
- case TGSI_OPCODE_CROSSPRODUCT:
+ case TGSI_OPCODE_CROSSPRODUCT: {
+ out = instr->cross(inputs[0], inputs[1]);
+ }
break;
case TGSI_OPCODE_MULTIPLYMATRIX:
break;
- case TGSI_OPCODE_ABS:
+ case TGSI_OPCODE_ABS: {
+ out = instr->abs(inputs[0]);
+ }
break;
case TGSI_OPCODE_RCC:
break;