diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-10-29 08:27:32 -0400 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2007-10-29 16:14:10 +0000 |
commit | 25b17b213b7ba0d1b93ec37211504ee489944ce8 (patch) | |
tree | 5bc773224011ccc2e06e93f73952ef886e351953 /src/mesa/pipe/draw/draw_vertex_shader_llvm.c | |
parent | abe8cd19171def0de000e58b9f71c43adf4c6336 (diff) |
Refactor the LLVM code a bit.
Move the CPU vertex shader execution code to the draw
module, remove traces of LLVM from the state tracker,
abstract execution engine for the purposes of the draw module.
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex_shader_llvm.c')
-rw-r--r-- | src/mesa/pipe/draw/draw_vertex_shader_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_shader_llvm.c b/src/mesa/pipe/draw/draw_vertex_shader_llvm.c index c0720d2872..b340ab38fd 100644 --- a/src/mesa/pipe/draw/draw_vertex_shader_llvm.c +++ b/src/mesa/pipe/draw/draw_vertex_shader_llvm.c @@ -125,7 +125,7 @@ void draw_vertex_shader_queue_flush_llvm(struct draw_context *draw) float inputs[VS_QUEUE_LENGTH][PIPE_MAX_SHADER_INPUTS][4]; float outputs[VS_QUEUE_LENGTH][PIPE_MAX_SHADER_INPUTS][4]; float (*consts)[4] = (float (*)[4]) draw->mapped_constants; - struct gallivm_prog *prog = (struct gallivm_prog *)draw->vertex_shader->state->llvm_prog; + struct gallivm_prog *prog = draw->vertex_shader->llvm_prog; const float *scale = draw->viewport.scale; const float *trans = draw->viewport.translate; |