https://bugs.winehq.org/show_bug.cgi?id=56855
Bug ID: 56855 Summary: Rainbow Six: Lockdown needs 'Cast on the LHS' support Product: vkd3d Version: 1.12 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
0808:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -5. 0808:err:d3dcompiler:D3DCompile2 Shader log: 0808:err:d3dcompiler:D3DCompile2 c:/program files (x86)/steam/steamapps/common/rainbow six lockdown/data/shaders/vssafetyglassdynlit.hlsl:148:8: W5300: Implicit truncation of vector type. 0808:err:d3dcompiler:D3DCompile2 c:/program files (x86)/steam/steamapps/common/rainbow six lockdown/data/shaders/vssafetyglassdynlit.hlsl:149:8: W5300: Implicit truncation of vector type. 0808:err:d3dcompiler:D3DCompile2 c:/program files (x86)/steam/steamapps/common/rainbow six lockdown/data/shaders/vssafetyglassdynlit.hlsl:219:24: W5300: Implicit truncation of vector type. 0808:err:d3dcompiler:D3DCompile2 c:/program files (x86)/steam/steamapps/common/rainbow six lockdown/data/shaders/vssafetyglassdynlit.hlsl:239:24: W5300: Implicit truncation of vector type. 0808:err:d3dcompiler:D3DCompile2 c:/program files (x86)/steam/steamapps/common/rainbow six lockdown/data/shaders/vssafetyglassdynlit.hlsl:289:117: E5017: Aborting due to not yet implemented feature: Cast on the LHS.
1.12-52-gacc9d79f
https://bugs.winehq.org/show_bug.cgi?id=56855
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Does the game work? This shader does not compile on Windows either, the reason is that out argument type mismatch, which is not immediately obvious from the error message.
https://bugs.winehq.org/show_bug.cgi?id=56855
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- There are no noticeable issues related to it.
https://bugs.winehq.org/show_bug.cgi?id=56855
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Interesting, thanks. I see it's using d3dx9_27.D3DXCompileShaderFromFileA on this file, the failing function is actually unused. It's possible it wasn't a compilation error on older compiler versions.
https://bugs.winehq.org/show_bug.cgi?id=56855
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- This looks like a valid issue, compiler from June 2010 SDK compiles this without errors, so we have to handle this, conditionally.