mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
![]() 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> |
||
---|---|---|
.. | ||
0001-d3dx9__Return_D3DFMT_A8R8G8B8_in_D3DXGetImageInfoFromFileInMemory_for_32_bpp_BMP_with_alpha.diff | ||
0002-d3dx9_36__Recognize_bump_luminance_X8L8V8U8_when_loading_dds_file.diff | ||
0003-d3dx9_36__Add_format_description_for_X8L8V8U8_for_format_conversions.diff | ||
0004-d3dx9_36__Improve_stub_for_ID3DXEffectImpl_CloneEffect.diff | ||
0005-d3dx9_36__Implement_D3DXDisassembleShader._(v2).diff | ||
0006-d3dx9_36_tests__Add_initial_tests_for_D3DXDisassembleShader.diff | ||
0007-d3dx9_36_tests__Add_additional_tests_for_special_cases.diff | ||
0008-d3dx9_36_tests__Remove_useless__n_within_some_ok_messages.diff | ||
0009-d3dx9_36__Add_semi-stub_for_D3DXOptimizeVertices.diff | ||
0010-d3dx9____Add_D3DXSHProjectCubeMap_stub.diff | ||
0011-d3dx9__Implement_D3DXComputeTangent.diff | ||
0012-d3dx9_36__Add_support_for_FOURCC_surface_to_save_dds_surface_to_memory.diff | ||
0013-d3dx9_36__Improve_D3DXSaveTextureToFile_to_save_simple_texture_to_dds_file.diff | ||
0014-d3dx9_36__add_DXTn_support.diff | ||
0015-d3dx9_36__Implement_ID3DXFontImpl_DrawText.diff | ||
0016-d3dx9_36__Fix_horizontal_centering_in_ID3DXFont_DrawText.diff | ||
0017-d3dx9_36__Support_NULL_terminated_strings_in_ID3DXFont_DrawText.diff | ||
0018-d3dx9_36__ID3DXFont_DrawText_calc_rect_can_be_null.diff | ||
0019-d3dx9_36__Return_dummy_skininfo_interface_in_D3DXLoadSkinMeshFromXof_when_skin_information_is_unavailable.diff | ||
0020-d3dx9_36_tests__Add_initial_tests_for_dummy_skininfo_interface.diff | ||
0021-d3dx9_36__Filter_out_D3DCompile_warning_messages_that_are_not_present_with_D3DCompileShader._(try_4).diff |