diff options
author | Zack Rusin <[email protected]> | 2008-05-16 14:54:40 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2008-05-17 13:58:44 -0400 |
commit | ea1a607292ef31df70cda8c6476755e0224c9f7d (patch) | |
tree | 035f95ea471e526bac84463bb0e24fe7b8e674a3 /src/gallium/auxiliary/gallivm/tgsitollvm.cpp | |
parent | 59766ac273c426557b7790b0fcb566c8095fd820 (diff) |
implement min/max and abstract ops on vectors
Diffstat (limited to 'src/gallium/auxiliary/gallivm/tgsitollvm.cpp')
-rw-r--r-- | src/gallium/auxiliary/gallivm/tgsitollvm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/tgsitollvm.cpp b/src/gallium/auxiliary/gallivm/tgsitollvm.cpp index 5465d3a95ef..007b5c169af 100644 --- a/src/gallium/auxiliary/gallivm/tgsitollvm.cpp +++ b/src/gallium/auxiliary/gallivm/tgsitollvm.cpp @@ -724,9 +724,11 @@ translate_instructionir(llvm::Module *module, } break; case TGSI_OPCODE_MIN: { + out = instr->min(inputs[0], inputs[1]); } break; case TGSI_OPCODE_MAX: { + out = instr->max(inputs[0], inputs[1]); } break; case TGSI_OPCODE_SLT: { |