summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/llvmtgsi.cpp
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-10-22 11:27:34 -0400
committerZack Rusin <[email protected]>2007-10-24 11:21:04 -0400
commit743e96eec5f89cf55873b82ee58b4a06d094c0e9 (patch)
tree44d4a590feb8cea1cfbb4ed7a9bf12daa32d072a /src/mesa/pipe/llvm/llvmtgsi.cpp
parentb04430efd963ca541c435c6c1007feccf5474040 (diff)
Implement SGE and SLT
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 e1bb281a945..d40a7cc380a 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.cpp
+++ b/src/mesa/pipe/llvm/llvmtgsi.cpp
@@ -235,9 +235,13 @@ translate_instruction(llvm::Module *module,
out = instr->max(inputs[0], inputs[1]);
}
break;
- case TGSI_OPCODE_SLT:
+ case TGSI_OPCODE_SLT: {
+ out = instr->slt(inputs[0], inputs[1]);
+ }
break;
- case TGSI_OPCODE_SGE:
+ case TGSI_OPCODE_SGE: {
+ out = instr->sge(inputs[0], inputs[1]);
+ }
break;
case TGSI_OPCODE_MAD: {
out = instr->madd(inputs[0], inputs[1], inputs[2]);