mesa/st: Handle feedback draw when VBO offsets are not sorted in ascending order.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 6 Apr 2011 13:38:26 +0000 (14:38 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 7 Apr 2011 11:20:06 +0000 (12:20 +0100)
commitaa61b1535187129c61dd772471f23c633971665d
treefd0c840f06564ef32791ee8f143f02fb71540ea1
parent66b66295d0bc856c69fdcccc22575580c7ecee16
mesa/st: Handle feedback draw when VBO offsets are not sorted in ascending order.

Simply port the same logic from setup_interleaved_attribs().

Avoids overflow in mustpass.c and feedback.c conform tests.
src/mesa/state_tracker/st_draw_feedback.c