draw/llvm: index overflows if it's greater than elt max
authorZack Rusin <zackr@vmware.com>
Wed, 3 Jul 2013 01:52:55 +0000 (21:52 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 3 Jul 2013 13:06:24 +0000 (09:06 -0400)
commit09820902d74eec1eed054388f6999cd66227b6b1
tree611bacf7555717673603cf3f68c00764261ffc94
parent764afc48cf8a762f8c48209ba724103d421f0ac1
draw/llvm: index overflows if it's greater than elt max

The comparison, incorrectly, was greater-than-or-equal to
elt max.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c