draw/llvm: implement fetch elts paths
authorZack Rusin <zackr@vmware.com>
Mon, 26 Apr 2010 17:51:47 +0000 (13:51 -0400)
committerZack Rusin <zackr@vmware.com>
Mon, 26 Apr 2010 19:34:16 +0000 (15:34 -0400)
commit52f145a186b8e47439fb4a96d04a099d439477b7
tree194907267c836d08c173765f2014c6f3f7c9ce81
parent3a9717f7c2dd861bbc0d8a3d93273b2d27c56f9a
draw/llvm: implement fetch elts paths

we were only running the llvm paths when the input elts were linear,
now we can handle abritrary fetch elts arrays. we do this by generating
two paths - linear and fetch_elts one and just selecting the right one
at run time.
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_llvm.h
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c