On Tue, 2010-01-26 at 01:17 -0800, Dave Airlie wrote: > Since the whole patent mess can't apply to floating vertices here are some > gallium patches. > > First adds a new screen interface for is_vertex_format_supported and also > we seems to have some GPUs with a single R16 and some with R16X16 so allow > or this. > > second is just i965g patch.
What happens with the X16 format if stride == 6 bytes? Can the HW cope with this? Is there a risk of reading past the end of a buffer if the app packs the last half-float up against the end of the buffer? These are picky questions given the (barely functional) state of i965g, but I'm curious more than anything. > > If these are okay, I can look at softpipe support via translate. If the draw module understood half-floats, that would be equivalent. > Not sure > exposing this extension always and using translate always makes sense as > it defeats the purpose of this extension. For non-swtnl drivers it's true we'd want to avoid advertising formats which are unsupported by the hardware and optional in the API. For non-optional formats, the position we're taking is the driver is as good a place to fix this as anywhere else... 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