https://bugs.winehq.org/show_bug.cgi?id=38583
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.42 |1.6 Summary|Legions Overdrive: In-game |Legions Overdrive crashes |textures black |on start due to HLSL | |compilation failure Component|d3d-util |hlsl Status|UNCONFIRMED |NEW Product|Wine |vkd3d Ever confirmed|0 |1
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- For me the game crashes on launch with builtin d3dcompiler_47 and wine-8.0rc2. Let's make this bug about the HLSL compilation failure.
0120:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0120:err:d3dcompiler:D3DCompile2 Shader log: 0120:err:d3dcompiler:D3DCompile2 ../clipMap/atlas.h:2:1: W4300: Redefinition of IN_HLSL. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:3:1: W4300: Redefinition of VC_WORLD_PROJ. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:5:1: W4300: Redefinition of VC_TEX_TRANS1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:6:1: W4300: Redefinition of VC_LIGHT_TRANS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:7:1: W4300: Redefinition of VC_OBJ_TRANS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:9:1: W4300: Redefinition of VC_CUBE_TRANS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:10:1: W4300: Redefinition of VC_CUBE_EYE_POS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:11:1: W4300: Redefinition of VC_EYE_POS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:12:1: W4300: Redefinition of VC_MAT_SPECPOWER. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:14:1: W4300: Redefinition of VC_FOGDATA. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:16:1: W4300: Redefinition of VC_LIGHT_POS1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:17:1: W4300: Redefinition of VC_LIGHT_DIR1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:18:1: W4300: Redefinition of VC_LIGHT_DIFFUSE1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:19:1: W4300: Redefinition of VC_LIGHT_SPEC1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:21:1: W4300: Redefinition of VC_LIGHT_POS2. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:25:1: W4300: Redefinition of VC_LIGHT_TRANS2. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:27:1: W4300: Redefinition of VC_RELATIVE_VELOCITY. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:34:1: W4300: Redefinition of VC_DETAIL_SCALE. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:35:1: W4300: Redefinition of VC_EYE_POS_WORLD. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:37:1: W4300: Redefinition of PC_MAT_SPECCOLOR. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:38:1: W4300: Redefinition of PC_MAT_SPECPOWER. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:39:1: W4300: Redefinition of PC_DIFF_COLOR. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:40:1: W4300: Redefinition of PC_AMBIENT_COLOR. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:41:1: W4300: Redefinition of PC_ACCUM_TIME. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:42:1: W4300: Redefinition of PC_DIFF_COLOR2. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:43:1: W4300: Redefinition of PC_VISIBILITY. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:44:1: W4300: Redefinition of PC_COLORMULTIPLY. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:46:1: W4300: Redefinition of PC_USERDEF1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:48:1: W4300: Redefinition of PC_EYE_POS_WORLD. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:49:1: W4300: Redefinition of PC_FOGDATA. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:200:24: E5000: syntax error, unexpected '[', expecting ')' 0120:err:d3dcompiler:D3DCompile2 0120:warn:d3dcompiler:hresult_from_vkd3d_result Invalid shader bytecode.