reactos/sdk/tools
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
..
cabman [CABMAN] Add commandline support for creating a cab with folders 2020-09-20 17:28:02 +02:00
create_nls
fatten [CMAKE] Fix host tools build on x86-64 mingw 2019-11-15 16:22:06 +01:00
gendib
geninc
hhpcomp [HHPCOMP] Fix 2 MSVC C4101 warnings (#2392) 2020-06-06 18:42:47 +02:00
hpp [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
isohybrid Add a shared "port" directory for POSIX functions needed by multiple host tools (getopt/mkstemps) and import the one and only getopt from glibc. 2019-04-28 23:23:06 +02:00
kbdtool [CMAKE] Fix host tools build on x86-64 mingw 2019-11-15 16:22:06 +01:00
log2lines [LOG2LINES] Remove SVN leftovers 2020-02-22 13:48:18 +01:00
mkhive [NTOSKRNL] Add 'DECLSPEC_NORETURN' to a few 'KeBugCheck*()' (#2896) 2020-06-06 17:50:14 +02:00
mkisofs [FORMATTING] [CMAKE] Remove space in 'if (' (#2847) 2020-05-26 20:24:02 +02:00
mkshelllink [TOOLS] Fix/suppress all MSVC/x64 warnings (#1525) 2019-04-28 23:21:48 +02:00
ms2ps
nandflash
obj2bin
ofw_interface
pipetools
port Add a shared "port" directory for POSIX functions needed by multiple host tools (getopt/mkstemps) and import the one and only getopt from glibc. 2019-04-28 23:23:06 +02:00
regtests2xml
rgenstat
rsym [WINESYNC] dbghelp: Get rid of no longer needed HAVE_ZLIB checks. 2020-09-16 10:35:58 +02:00
spec2def [SPEC2DEF] Allow stubs with parameters, and assume stdcall in that case 2021-02-04 16:37:01 +01:00
unicode [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
utf16le [TOOLS] Fix/suppress all MSVC/x64 warnings (#1525) 2019-04-28 23:21:48 +02:00
widl [CMAKE] Generate Flex and Bison files at build time 2021-01-28 06:43:05 +03:00
winesync [WINESYNC] d3dx9_36: Filter out D3DCompile warning messages that are not present with D3DCompileShader. (try 4) 2021-02-04 16:37:07 +01:00
wpp [CMAKE] Generate Flex and Bison files at build time 2021-01-28 06:43:05 +03:00
xml2sdb [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
bin2c.c [TOOLS] Fix/suppress all MSVC/x64 warnings (#1525) 2019-04-28 23:21:48 +02:00
check_code_format.sh [REACTOS] Introduce .clang-format file 2019-12-28 01:23:49 +02:00
CMakeLists.txt [CMAKE] Get rid of add_compile_flags_language macro 2020-10-20 21:44:54 +02:00
do_code_format.sh [SDK][TOOLS] Add do_code_format.sh to sdk/tools (#2191) 2019-12-31 11:28:56 +09:00
dumpstab.c
gen_baseaddress.py [SDK] Add usage / help to gen_baseaddress.py 2019-12-27 19:51:20 +01:00
mkconfig.c
pefixup.c [PEFIXUP] Improve error messages 2020-04-19 15:19:03 +02:00
stubgen.c