mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
f6c4f5e79c
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> |
||
---|---|---|
.. | ||
cabman | ||
create_nls | ||
fatten | ||
gendib | ||
geninc | ||
hhpcomp | ||
hpp | ||
isohybrid | ||
kbdtool | ||
log2lines | ||
mkhive | ||
mkisofs | ||
mkshelllink | ||
ms2ps | ||
nandflash | ||
obj2bin | ||
ofw_interface | ||
pipetools | ||
port | ||
regtests2xml | ||
rgenstat | ||
rsym | ||
spec2def | ||
unicode | ||
utf16le | ||
widl | ||
winesync | ||
wpp | ||
xml2sdb | ||
bin2c.c | ||
check_code_format.sh | ||
CMakeLists.txt | ||
do_code_format.sh | ||
dumpstab.c | ||
gen_baseaddress.py | ||
mkconfig.c | ||
pefixup.c | ||
stubgen.c |