https://bugs.winehq.org/show_bug.cgi?id=33761
--- Comment #24 from Itoh Shimon shimon@postfixnotation.org ---
Microsoft deprecated D3DX and created the successors (such as DirectXMath and DirectXTex)[2]. The successors are licensed under the MIT License.
The patch[3] is based on DirectXMath and DirectXTex[2]. The patch handles D3DX_FILTER_TRIANGLE in D3DXLoadSurfaceFromMemory.
DirectXTex and DirectXMath are Microsoft's copyrighted works, but I understand by email sent from Alexandre Julliard that DirectXTex and DirectXMath don't violate the clean room guidelines[1] because they are licensed under the MIT License.
---
[1] https://wiki.winehq.org/Clean_Room_Guidelines