summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/gallivm_cpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/llvm/gallivm_cpu.cpp')
-rw-r--r--src/mesa/pipe/llvm/gallivm_cpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/llvm/gallivm_cpu.cpp b/src/mesa/pipe/llvm/gallivm_cpu.cpp
index 5f1268bf4f..011cba55c2 100644
--- a/src/mesa/pipe/llvm/gallivm_cpu.cpp
+++ b/src/mesa/pipe/llvm/gallivm_cpu.cpp
@@ -105,10 +105,10 @@ static inline llvm::Function *func_for_shader(struct gallivm_prog *prog)
switch (prog->type) {
case GALLIVM_VS:
- func = mod->getFunction("run_vertex_shader");
+ func = mod->getFunction("vs_shader");
break;
case GALLIVM_FS:
- func = mod->getFunction("run_fragment_shader");
+ func = mod->getFunction("fs_shader");
break;
default:
assert(!"Unknown shader type!");