Created by: HeapRaid
This is the first step in reducing the dependency on D3DX. It completely eliminates the D3DX9 dependency from the R2 renderer and most of the R1 renderer. It paves the way for removing the D3DX11 dependency at a later point.
It's not possible to completely remove the D3DX9 dependency from the R1 renderer, because the D3DCompiler doesn't support the ps_1_1
shader model.
A couple of important points:
This removes the ability to save screenshots as JPEGs, they are now always saved as TGAs. JPEG support could be added back in later if needed.- This enables O3 optimizations for shaders on DX9 backends, if this results in issues an exception could be added back in.