Keith Whitwell wrote: > On Fri, 2009-10-09 at 06:19 -0700, michal wrote: >> Keith Whitwell pisze: >>> Michal, >>> >>> Sorry, this isn't a great way to do this. This can usually be caught >>> much earlier in the pipeline and with much less overhead by validating >>> the incoming index list. >>> >>> >> OK, so we scan the whole element array beforehand, and if any element is >> out of range, we kill the while primitive, right? >> >>> We normally do that in Mesa or the state tracker, if that helps. >>> >>> >> Does this mean we actually don't want to check that in the draw module >> and we should deal with it on the state tracker level? > > At a guess, yes. It would be helpful to have some tests to flush out > the real issues, as you've gathered this has been a bit ignored to date.
It seems to me there should probably be a pipe query to ask the driver if it can do index bounds checking. If it can't, either the draw module or state tracker will have to do it. -Brian ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
