freedreno/a3xx: fix VFD_INDEX_MAX overflow
authorRob Clark <robclark@freedesktop.org>
Wed, 11 Sep 2013 14:06:29 +0000 (10:06 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 14 Sep 2013 17:31:58 +0000 (13:31 -0400)
commitd7be322410887b94fe1ddc37a6ae63ea20721467
tree1dde5bdf13ffd2f963148b2d64b9db47aee6b323
parentc756a3ef70ad3f020f50950bcf30f8423470478d
freedreno/a3xx: fix VFD_INDEX_MAX overflow

max_index may be 0xffffffff.  The hardware does not need 1 + max_index
(although it does not hurt unless max_index wraps around to zero).

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_draw.c