On Tue, Feb 2, 2010 at 3:54 PM, michal <mic...@vmware.com> wrote: > Luca Barbieri wrote on 2010-02-01 21:42: >> >> 1. All the semantic indices in OpenGL are limited, according to the >> ARB specification >> 2. All the sematic indices in DirectX 9/10 are limited, according to >> http://msdn.microsoft.com/en-us/library/ee418355%28VS.85%29.aspx > > At least for SM3.0, one can specify a vertex shader output semantic like > COLOR15 and have it running as long as one has also a pixel shader with > a matching input semantic. Though I agree with you we don't really want > to go this route and have something more sensible.
So translating COLOR15 away in a DX9 state tracker would mean that it would have to examine pairs of vertex and fragment shaders together and re-translate to generate varients that use the same set of remapped semantics, right? That sounds like extra work a DX9 state tracker could avoid with the current rules. I'm not opposed to doing more work in the state-trackers, but as I keep saying, if we're going to do this type of hand-holding in the state trackers, we should make sure we do enough to fix the re-translation problem in all drivers, not just a couple. 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