summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-09-26 16:22:17 -0700
committerEric Anholt <[email protected]>2011-10-01 22:16:07 -0700
commit42769c2da5c986e38a1bd4ef7dbcb6623968ce88 (patch)
tree6ad1ae8c8a0101f3fdbc3233cc8d3006c884287c /src/mesa/main
parentddc348d83eff8c12ff0e6c245c32fa65120e7f4a (diff)
Revert "vbo: Don't discount stride == 0 for testing all varyings in VBOs."
This reverts commit d631c19db47181129811080bfa772b210d762d4d. The commit was broken, and ended up returning false all the time because nobody in the world binds every single possible vertex array. On further reflection, we don't want to discount stride == 0: This function is just used for deciding to calculate whether to compute the bonuds on the index, and there's no sense in computing index bounds when stride == 0. For the separate question of "how much data do I upload for this vertex element?", the i965 driver was fixed to upload the data. Fixes a regression of about 2x in 3DMMES, and most importantly, makes Hammerfight playable.
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions