summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/gallivm.cpp
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-11-02 12:05:00 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-11-02 12:05:00 -0400
commite0e91e7ceb50f0e23311788559a8547dd24c7a80 (patch)
tree5598bb6fd54024d7ea3d302d786c1b55a27a510f /src/mesa/pipe/llvm/gallivm.cpp
parent5c7bfb06e087ce4162590359ad75d1fca98f3549 (diff)
Implement scs opcode
Diffstat (limited to 'src/mesa/pipe/llvm/gallivm.cpp')
-rw-r--r--src/mesa/pipe/llvm/gallivm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/llvm/gallivm.cpp b/src/mesa/pipe/llvm/gallivm.cpp
index a737b5631f..7e91f8c556 100644
--- a/src/mesa/pipe/llvm/gallivm.cpp
+++ b/src/mesa/pipe/llvm/gallivm.cpp
@@ -502,7 +502,9 @@ translate_instruction(llvm::Module *module,
out = instr->cmp(inputs[0], inputs[1], inputs[2]);
}
break;
- case TGSI_OPCODE_SCS:
+ case TGSI_OPCODE_SCS: {
+ out = instr->scs(inputs[0]);
+ }
break;
case TGSI_OPCODE_TXB:
break;