reactos/dll/directx/wine/d3dx9_36
winesync f6c4f5e79c [WINESYNC]d3dx9_36: Filter out D3DCompile warning messages that are not present with D3DCompileShader. (try 4)
This patch fixes vertex processing issue of bug 33770.

The problem comes from the fact that even if the call succeeds,
the game interprets a non null error_messages pointer as an error.

By calling D3DCompile we use a newer version of the compiler which is more
strict and generates the following warning.
  - warning X3206: 'dot': implicit truncation of vector type
  - warning X3206: implicit truncation of vector type
  - warning X3206: 'mul': implicit truncation of vector type
D3DCompileShader does not generate such warnings.

These is confirmed in the DX SDK release note:
New Warning X3206: Implicit Truncation of Vector Type
Beginning in the August 2009 release of the DirectX SDK, the compiler will warn
when an implicit truncation of a vector type occurs.

The warnings cannot be disable so this patch filters out these strings in D3DCompileShader
and reset the error messages pointer if the resulting buffer is empty.

Try 2:
  - only filter out lines containing "X3206:" in case d3dcompiler_43 has localization

Try 3:
  - use move in place instead of copying the buffer

Try 4:
  - filter simplification by Sebastian and remove 'mul' testing left-out in search string

wine-staging patch by Christian Costa <titan.costa@gmail.com>
2020-02-26 18:19:18 +01:00
..
animation.c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
CMakeLists.txt [D3DX9_XX] Share source files 2020-02-26 18:19:18 +01:00
core.c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
d3dx9.cmake [WINESYNC]d3dx9_36: add DXTn support 2020-02-26 18:19:18 +01:00
d3dx9_36.spec [WINESYNC]d3dx9: Implement D3DXComputeTangent 2020-02-26 18:19:18 +01:00
d3dx9_private.h [WINESYNC]d3dx9_36: Return dummy skininfo interface in D3DXLoadSkinMeshFromXof when skin information is unavailable. 2020-02-26 18:19:18 +01:00
effect.c [WINESYNC]d3dx9_36: Improve stub for ID3DXEffectImpl_CloneEffect. 2020-02-26 18:19:18 +01:00
font.c [WINESYNC]d3dx9_36: ID3DXFont_DrawText calc_rect can be null 2020-02-26 18:19:18 +01:00
guid.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
line.c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
main.c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
math.c [WINESYNC]d3dx9_*: Add D3DXSHProjectCubeMap stub 2020-02-26 18:19:18 +01:00
mesh.c [WINESYNC]d3dx9_36: Return dummy skininfo interface in D3DXLoadSkinMeshFromXof when skin information is unavailable. 2020-02-26 18:19:18 +01:00
precomp.h [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
preshader.c [D3DX9_36] Revert wine staged patches 2020-02-26 18:19:18 +01:00
render.c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
shader.c [WINESYNC]d3dx9_36: Filter out D3DCompile warning messages that are not present with D3DCompileShader. (try 4) 2020-02-26 18:19:18 +01:00
skin.c [WINESYNC]d3dx9_36: Return dummy skininfo interface in D3DXLoadSkinMeshFromXof when skin information is unavailable. 2020-02-26 18:19:18 +01:00
sprite.c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
surface.c [WINESYNC]d3dx9_36: add DXTn support 2020-02-26 18:19:18 +01:00
texture.c [WINESYNC]d3dx9_36: Improve D3DXSaveTextureToFile to save simple texture to dds file. 2020-02-26 18:19:18 +01:00
util.c [WINESYNC]d3dx9_36: Add format description for X8L8V8U8 for format conversions. 2020-02-26 18:19:18 +01:00
version.rc Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
volume.c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00
xfile.c [D3DX9_*] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:26:47 +01:00