summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/gallivm.cpp
diff options
context:
space:
mode:
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 a737b5631f0..7e91f8c556c 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;