https://bugs.winehq.org/show_bug.cgi?id=45871
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 75342 --> https://bugs.winehq.org/attachment.cgi?id=75342 shader
I tried with .NET 4.8 with ME3 Explorer. Current failure is about unsupported effect syntax:
--- 0164:trace:d3dcompiler:D3DCompile data 00007F2AF96D4BB0, data_size 2436, filename (null), defines 0000000000000000, include 0000000000000000, entrypoint "VertexShaderImpl", target "vs_3_0", sflags 0, eflags 0, shader 00007F2AF0DCE2A8, error_messages 00007F2AF0DCE2B0. 0164:trace:d3dcompiler:D3DCompile2 data 00007F2AF96D4BB0, data_size 2436, filename (null), macros 0000000000000000, include 0000000000000000, entry_point "VertexShaderImpl", profile "vs_3_0", flags 0, effect_flags 0, secondary_flags 0, secondary_data 0000000000000000, secondary_data_size 0, shader_blob 00007F2AF0DCE2A8, messages_blob 00007F2AF0DCE2B0. 0164:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0164:err:d3dcompiler:D3DCompile2 Shader log: 0164:err:d3dcompiler:D3DCompile2 <anonymous>:142:1: E5000: syntax error, unexpected KW_TECHNIQUE 0164:err:d3dcompiler:D3DCompile2 ---
Interesting part is that it should be enough for this particular compilation to ignore technique block.
Attached the source as well.