[PATCH] Moved wined3dformat <-> dxgi_format conversion functions into wined3d

Fabian Maurer dark.shadow4 at web.de
Sat Sep 10 11:47:12 CDT 2016


On Saturday, September 10, 2016 6:33:04 PM CEST you wrote:
> 
> Unfortunately d3dx dlls shouldn't depend on wined3d either. We've
> typically handled sharing across different versions of d3dx using
> PARENTSRC.

I see, what's the reason behind this? After all, d3dx_36 depends on d3d9 which 
in turn depends on wined3d. Just curious, I'll make it different if this is 
your standard. 

I can put the conversion functions in dxgi and make it public by using the 
.spec file, but I really don't know about the actual texture loader. I mean, I 
could make a copy from all the d3dx9 code for d3dx11, but it seems more 
logical to not just duplicate code.
But where would I put the code to use it in both d3dx9 and d3dx11? A new 
folder d3dx_shared for PARENTSRC?





More information about the wine-devel mailing list