reactos/dll
winesync 489e520163 [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>
2021-02-04 16:37:07 +01:00
..
3rdparty Apply suggestions from code review 2020-10-20 21:44:54 +02:00
apisets [APISETS][RDBSSLIB][RTL] Fix some build issues for MSVC Rls-config CORE-17402 2020-12-17 13:31:43 +01:00
appcompat [REACTOS] *.spec: Fix some function/parameter types (#3154) 2020-09-20 19:21:11 +02:00
cpl [TRANSLATION] update hungarian translation of cpl/timedate, cpl/main, cpl/desk 2021-02-03 06:52:45 +01:00
directx [WINESYNC] d3dx9_36: Filter out D3DCompile warning messages that are not present with D3DCompileShader. (try 4) 2021-02-04 16:37:07 +01:00
keyboard [KEYBOARD] Add Swiss French keyboard layout (#3408) 2021-01-05 17:48:53 +03:00
nls [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
np [NFS] Fix a typo in the precompiled header. 2019-04-28 01:42:52 +02:00
ntdll [ASM x64] Fix usage of macro .allocstack 2021-01-28 20:31:16 +01:00
opengl [CMAKE] Get rid of the set_cpp macro 2020-10-20 21:44:54 +02:00
shellext [SHELL32][SHELLEXT] Portuguese (PT) translation improvements and object adjustements (#3186) 2020-11-07 17:30:36 +01:00
win32 [SYSSETUP] Refactor ApplyAccountSettings() and add NewAdministratorName and NewGuestName options 2021-01-30 13:52:14 +01:00
CMakeLists.txt [APISETS] Add the initial set of auto-generated files. 2018-04-07 14:50:59 +02:00