[PATCH] d3dx9_36: Filter out D3DCompile warning messages that are not present with D3DCompileShader.

Stefan Dösinger stefandoesinger at gmail.com
Wed Jul 31 14:39:26 CDT 2013


Am 2013-07-31 16:01, schrieb Christian Costa:
> AFAIK no. My localization is french and I get english messages. Any
> idea how I can check that?
Should be ok then.

> The parsing code handles missing null byte as well as both
> unix/dos text formats but maybe I can just simplify it by using
> strtok_r and assume dos format with null byte.
Is there any reason why the format would change?

> I'm afraid this is the only solution. AFAIK there is no option
> that disable this warning.
As far as my reserch goes, D3DCompileShader() is d3dx9's function and
d3dcompiler.dll only has D3DCompile(), is that correct? If so, parsing
the warnings is probably the least bad option.

The obvious alternative is to ignore the mix of builtin d3dx9 and
native d3dcompiler - but at some point we may want to write the same
warnings from our d3dcompiler and the problem returns.

In either case, please write some tests that demonstrate that d3dx9
does not generate those warnings.




More information about the wine-devel mailing list