On 10 September 2016 at 18:28, Fabian Maurer dark.shadow4@web.de wrote:
Well I'm currently implementing "D3DX11CreateShaderResourceViewFromFileW", and to make things easier I wanted to make a generic textureloader for both DX11 and DX9 in wined3d (mostly moving code from DX9). That works fine, but since it works with WINED3D formats, they need to be converted in d3dx11. But I'd need to duplicate the conversion code a third time for that. And that's what I wanted to avoid, it seems like a lot of unnecessary duplication.
Unfortunately d3dx dlls shouldn't depend on wined3d either. We've typically handled sharing across different versions of d3dx using PARENTSRC.