Stefan Dösinger : wined3d: Fix the TMP_COLOR optimization with custom fog.