draw: Fix max_index check.
authorKeith Whitwell <keithw@vmware.com>
Thu, 26 Nov 2009 18:24:57 +0000 (19:24 +0100)
committerMichal Krol <michal@vmware.com>
Thu, 26 Nov 2009 19:41:41 +0000 (20:41 +0100)
commit3bae72e20493aeb683e16297d67648e59a817b76
treee68e94ef934124390126f0d17790b859baadae31
parent75df599e30bda03b40c0442eff3e39ec84397ede
draw: Fix max_index check.

We want to fallback to draw splitting when vertex element indices
might be too high for atomic draw path (currently limited to 4095).
src/gallium/auxiliary/draw/draw_pt_vcache.c