[PATCH 01/11] d3d10: Add the ID3D10Blob interface.
matteo.mystral at gmail.com
Tue Jul 27 09:37:48 CDT 2010
2010/7/27 Henri Verbeet <hverbeet at gmail.com>:
> On 26 July 2010 21:21, Matteo Bruni <matteo.mystral at gmail.com> wrote:
>> // ID3D10Blob has been made version-neutral and moved to d3dcommon.h.
> Actually, since this comes up now, perhaps this is a good time to
> think about implementing d3dcompiler and d3dx10? I think we'll have to
> anyway at some point, and perhaps it's better to do this now instead
> of once there's much more code in d3d10.
Yes, this is the best time I believe. Some time ago there was
agreement to implement the shader compiler in d3dcompiler, with the
d3dx9/d3d10/d3dx10 compiler function calls forwarding to d3dcompiler.
My plan for the immediate future is to stub out d3dcompiler_43.dll and
then move the shader assembler there (forwarding D3DXAssembleShader to
d3dcompiler's D3DAssemble, which is undocumented but "stable" in the
last 3 DirectX SDK) to be able to reuse some assembler code for the
compiler implementation. I have some patches in my local git, they
just need a bit of cleanup. Should I proceed with my plan?
More information about the wine-devel