i965: Fix the last valid address setting for the index buffer.
authorEric Anholt <eric@anholt.net>
Sun, 11 Oct 2009 18:16:03 +0000 (11:16 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 11 Oct 2009 18:21:03 +0000 (11:21 -0700)
commitf3be27c0cf8a4c47230f31d9d66bde7340ffb204
tree5f3290bc7b677d0f18bde140694f7e30311b243b
parenta82da7fa263c7fb6b902285994136890e6dc3278
i965: Fix the last valid address setting for the index buffer.

Again, last valid address, not first invalid address.  Fixes regression
in 255e5be265133280293bbfd8b2f9b74b2dec50bb that the kernel now catches
and caused piglit draw_elements_base_vertex to fail.
src/mesa/drivers/dri/i965/brw_draw_upload.c