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

Fabian Maurer dark.shadow4 at web.de
Tue Sep 13 15:14:31 CDT 2016


> Fabian, if you want to send patches for
> D3DX11CreateShaderResourceViewFromFileW "duplicating" the relevant
> code for the time being, that is fine to me. It might even be easier
> to decide how to share the code at that point.

Thanks, I sent the patches to the patches mailing list, I hope that's fine.
I split them a bit so it's more visible which part I changed, it's really a 
lot copy&paste. You probably need to apply all patches at once, since they 
don't make much sense each on their own, but it shouldn't break compilation 
even if you just apply one.

Also, if you want something to test it with, I implemented it for the samples 
from http://www.rastertek.com/dx11tut05.html. Currently still needs native 
d3dcompiler to work though.
I'd be happy to hear some feedback, especially since it's a fairly big set of 
patches.



More information about the wine-devel mailing list