commit | fa4bd302122c28ee00d77dcc36723fcd31656841 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Wed Jun 15 16:41:13 2011 -0600 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Fri Jul 01 13:30:39 2011 +0200 |
tree | c3d5a57060e53e1ff93035bad4e440e27915cf7c | |
parent | bd00fb2c060d3d90be670a2f0bbd6f9c9fd2b4ae [diff] |
svga: fix incorrect user buffer size computation Viewperf uses some unusual vertex arrays where the stride is less than the element size. In this case, the stride was 4 while the element size was 12. The difference of 8 bytes causes us to miss uploading the tail bit of the array data. Typically the stride is >= the element size so there was no problem with other apps.