https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #15 from Gijs Vermeulen gijsvrm@gmail.com --- This one seems to be fixed with wine-10.5 and current vkd3d-git. No mention of 'Uniform initializer' anymore. BF2142 demo now fails with:
0024:trace:d3dx:D3DXCreateEffect device 01CFF288, data 0354A8F4, data_size 15149, defines 034B6BBC, include 0350BE30, flags 0x120, pool 00000000, effect 00D0F690, messages 00D0F694. 0024:trace:d3dx:D3DXCreateEffectEx device 01CFF288, srcdata 0354A8F4, srcdatalen 15149, defines 034B6BBC, include 0350BE30, skip_constants 00000000, flags 0x120, pool 00000000, effect 00D0F690, compilation_errors 00D0F694. 0024:trace:d3dx:d3dx9_effect_init effect 01D58208, device 01CFF288, data 0354A8F4, data_size 15149, defines 034B6BBC, include 0350BE30, flags 0x120, errors 00D0F694, pool 00000000, skip_constants (null). 0024:trace:d3dx:d3dx9_effect_init HLSL ASCII effect, trying to compile it. 0024:trace:d3dcompiler:D3DCompile data 0354A8F4, data_size 15149, filename (null), defines 034B6BBC, include 0350BE30, entrypoint (null), target "fx_2_0", sflags 0x1120, eflags 0, shader 00D0F550, error_messages 00D0F554. 0024:trace:d3dcompiler:D3DCompile2 data 0354A8F4, data_size 15149, filename (null), macros 034B6BBC, include 0350BE30, entry_point (null), profile "fx_2_0", flags 0x1120, effect_flags 0, secondary_flags 0, secondary_data 00000000, secondary_data_size 0, shader_blob 00D0F550, messages_blob 00D0F554. vkd3d:0024:fixme:D3DCompile2VKD3D Ignoring flags 0x1120. vkd3d:0024:fixme:preproc_yyparse #line directive. vkd3d:0024:fixme:preproc_yyparse #line directive. vkd3d:0024:fixme:preproc_yyparse #line directive. vkd3d:0024:fixme:preproc_yyparse #line directive. 0024:warn:d3dx:d3dx9_effect_init Failed to compile ASCII effect. 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:439:44: E5017: Aborting due to not yet implemented feature: Reservat" 0024:trace:d3dx:d3dx9_effect_init "ion shader target vs_1_1." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:441:17: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:442:16: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:443:7: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:443:13: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:443:19: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:443:25: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:521:15: E5030: Unknown modifier "asm"." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:522:1: E5000: syntax error, unexpected '{'" 0024:warn:d3dx:D3DXCreateEffectEx Failed to create effect object, hr 0x80004001.
which deserves its own bug. Marking this one FIXED.