https://bugs.winehq.org/show_bug.cgi?id=28851
--- Comment #9 from Jactry Zeng jactry92@gmail.com --- Created attachment 67603 --> https://bugs.winehq.org/attachment.cgi?id=67603 Log with +d3dx,+d3dcompiler debug channels.
Still can be reproduced with wine-5.11-224-gec9e556d31 . And `winetricks d3dcompiler_47` can work around it.
It crashes because it tried to compile some fx_2_0 code which still not supported by current d3dcompiler of Wine? --- snip --- 00d0:trace:d3dx:D3DXCreateEffectFromFileExA device 02A153E0, srcfile "shaders/water.fx", defines 00000000, include 00000000, skipconstants (null), flags 0, pool 00000000, effect 054EC4FC, compilationerrors 0031FBA8. --- snip --- 00d0:trace:d3dcompiler:D3DCompile2 data 05BE196C, data_size 3098, filename (null), defines 00000000, include 0031FA98, entrypoint (null), target "fx_2_0", sflags 0x1000, eflags 0, secondary_flags 0, secondary_data 00000000, secondary_data_size 0, shader 0031FA10, error_messages 0031FA14. 00d0:trace:d3dcompiler:wpp_open Opening include "". 00d0:trace:d3dcompiler:compile_shader Preprocessed shader source: "# 1 "" 1\n\r\n\nfloat4 CameraPosition;\r\n\r\n\nfloat4x4 WorldViewProjMatrix;\r\nfloat4x4 TexProjMatrix;\r\n\r\n\nfloat4 WaterColor;\r\n\r\n\nsampler SamplerBump: register(s0); \nsampler SamplerCube: register(s1); \nsampler SamplerNorm: register(s2); \nsampler SamplerMirr: register(s3)"... 00d0:trace:d3dcompiler:compile_shader Checking compilation target "fx_2_0" 00d0:fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported --- snip ---