draw llvm: fix loop iteration and vertex header offsets
authorZack Rusin <zackr@vmware.com>
Tue, 6 Apr 2010 04:13:20 +0000 (00:13 -0400)
committerZack Rusin <zackr@vmware.com>
Tue, 6 Apr 2010 04:13:20 +0000 (00:13 -0400)
commit9dd70e7b85ddbc73bd976c4dab81476aa36c557e
tree6fa7b12033f424c346d4db26eec1b7ad9a201d29
parent1b0bab167cd541f70c32249ca3e70da88b8c93c5
draw llvm: fix loop iteration and vertex header offsets

the loop was doing a NE comparison which we could have skipped if the prim
was triangles (3 verts) and our step was 4 verts. also fix offsets in conversion
to aos.
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_flow.c
src/gallium/auxiliary/gallivm/lp_bld_flow.h