i965: Set the max index buffer address correctly according to the docs.
authorEric Anholt <eric@anholt.net>
Wed, 24 Jun 2009 02:30:25 +0000 (19:30 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 21:12:35 +0000 (14:12 -0700)
commit213ac4bb5de1cef601e0677ef2e5ca1779851e28
tree4c563c3d48f53cd0132227a80f8c3e4979a4355d
parentcab307ce6b32d2ffdb0eb3bb5bae93c6fb9305fb
i965: Set the max index buffer address correctly according to the docs.

It's the last addressable byte, not the byte after the end of the buffer.
(cherry picked from commit b72dea5441e8e9226dabf1826fa3bc129c7bc281)
src/mesa/drivers/dri/i965/brw_draw_upload.c