summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-31 12:23:45 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-11-02 07:15:17 -0400
commit25d91c23ff834a129e537891ec3ad63197d37da5 (patch)
tree7c14a496c3095125d4f27e772a7165ac466566cf /src/mesa/pipe/draw
parent7ff0df6c2bf11a36bc6101e361484bde57595a79 (diff)
Add basic entry points for fragment shaders.
Diffstat (limited to 'src/mesa/pipe/draw')
-rw-r--r--src/mesa/pipe/draw/draw_vertex_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_shader.c b/src/mesa/pipe/draw/draw_vertex_shader.c
index 7768a62000..529ed288eb 100644
--- a/src/mesa/pipe/draw/draw_vertex_shader.c
+++ b/src/mesa/pipe/draw/draw_vertex_shader.c
@@ -239,7 +239,7 @@ draw_create_vertex_shader(struct draw_context *draw,
}
#endif
#ifdef MESA_LLVM
- vs->llvm_prog = gallivm_from_tgsi(shader->tokens);
+ vs->llvm_prog = gallivm_from_tgsi(shader->tokens, GALLIVM_VS);
draw->engine = gallivm_global_cpu_engine();
if (!draw->engine) {
draw->engine = gallivm_cpu_engine_create(vs->llvm_prog);