[1/5] WineD3D: Get some vertex pipeline infrastructure in place

Henri Verbeet hverbeet at gmail.com
Mon Nov 17 08:42:18 CST 2008


2008/11/17 Stefan Dösinger <stefan at codeweavers.com>:
>> 2008/11/17 Stefan Dösinger <stefan at codeweavers.com>:
>> > -    } else if (fixup ||
>> > +    } else if (device->vertex_pipe->can_convert_d3dcolor || fixup ||
>> Shouldn't this be redundant if you already handle color conversion in
>> IWineD3DVertexBufferImpl_FindDecl()?
> Not all vertex data comes from a vertex buffer. 'fixup' is always FALSE for Draw[Indexed]PrimitiveUP and DrawPrimitiveStrided.

Can we fix that? I think I would prefer it if
primitiveDeclarationConvertToStridedData() handled all that, and just
returned whether we can use the fast draw function, or have to use the
slow one.


More information about the wine-devel mailing list