It's not deeply, truly painful, but it's certainly annoying and it would be nice to force buffers to be at least contiguously bound, if not non-sparse. I know D3D permits sparse elements though, so I won't hold my breath.
On Sat, Feb 6, 2010 at 3:04 AM, Keith Whitwell <keith.whitw...@googlemail.com> wrote: > On Fri, Feb 5, 2010 at 2:46 PM, Joakim Sindholt <b...@zhasha.com> wrote: >> Let's assume I have an array of vertex elements that indicate >> position/color in vertex buffer #3. Let's also for the sake of argument >> say that there is nothing else in my vertex elements. No other buffers >> are being pointed to. Is it legal for me to >> pipe_context::set_vertex_buffers with an array size of 3 and set buffer >> 1 and 2 == NULL? >> > > Not to mention buffer 0... > > At the moment I'd say that, yes this is permitted. I'm not sure if > there is any state-tracker out there that really wants to be able to > do this, though, so it is something we could look at tightening up if > it is causing real pain at the driver level. > > Keith > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Mesa3d-dev mailing list > Mesa3d-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mesa3d-dev > -- Only fools are easily impressed by what is only barely beyond their reach. ~ Unknown Corbin Simpson <mostawesomed...@gmail.com> ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev