commit | 299c9052e832712654865af8dbd0ed4bf055d124 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Mon Apr 02 20:05:16 2012 +0200 |
committer | Brian Paul <brianp@vmware.com> | Fri Apr 06 14:18:53 2012 -0600 |
tree | aa0308e2254a01a38dbb64af8f79d09efa8f55ad | |
parent | ecc480524bf56076e05291529f65dc996114aa90 [diff] |
st/mesa: fix max_offset computation for base vertex Add the maximum base vertex offset to max_index for computing the buffer size. Fixes a failed assertion in the u_upload_mgr.c code with the VMware svga driver. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=48141 v2: incorporate Marek's suggestions. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Marek Olšák <maraeo@gmail.com>