draw: move type construction out of loop
authorBrian Paul <brianp@vmware.com>
Fri, 1 Nov 2013 23:07:55 +0000 (17:07 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 4 Nov 2013 14:12:14 +0000 (07:12 -0700)
commit9fc41e2eeaad556810d68cc623a52ea551b9d907
treefb7e313653c49f1339d1cfd0cdd4f58c31927037
parent2f896627175384fd5943f21804700a155ba4e8a0
draw: move type construction out of loop

We can create clip_ptr_type once instead of n times inside the loop.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c