draw llvm: stay in bounds even if fetch_count % 4 != 0
authorZack Rusin <zackr@vmware.com>
Wed, 28 Apr 2010 21:11:25 +0000 (17:11 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 29 Apr 2010 15:53:32 +0000 (11:53 -0400)
commitb7618c89b11a13de98f1e784338a4e02a8db0fd2
tree99619e7bd1fb68bfb9b4b07404b1c9337ab192e0
parent4ccee747257192ef584d26d8854f8bc17cc57284
draw llvm: stay in bounds even if fetch_count % 4 != 0

if fetch_count % 4 != 0 then on the last iteration we fetch garbage.
this patch makes sure we stay within bounds
src/gallium/auxiliary/draw/draw_llvm.c