[Mesa3d-dev] drawing with elements out of range

2009-10-09 Thread michal
I've been able to crash my app that uses a gallium driver by feeding the draw module an index buffer with garbage contents. Is there a desire to add out-of-bounds checking of every index element, or is it being ignored on purpose for performance reasons? Thanks.

Re: [Mesa3d-dev] drawing with elements out of range

2009-10-09 Thread Keith Whitwell
On Fri, 2009-10-09 at 04:10 -0700, michal wrote: I've been able to crash my app that uses a gallium driver by feeding the draw module an index buffer with garbage contents. Is there a desire to add out-of-bounds checking of every index element, or is it being ignored on purpose for

Re: [Mesa3d-dev] drawing with elements out of range

2009-10-09 Thread michal
Keith Whitwell pisze: On Fri, 2009-10-09 at 04:10 -0700, michal wrote: I've been able to crash my app that uses a gallium driver by feeding the draw module an index buffer with garbage contents. Is there a desire to add out-of-bounds checking of every index element, or is it being

Re: [Mesa3d-dev] drawing with elements out of range

2009-10-09 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 michal wrote: Is there a desire to add out-of-bounds checking of every index element, or is it being ignored on purpose for performance reasons? The later. The OpenGL spec allows implementations to crash buggy applications anytime that