https://bugs.winehq.org/show_bug.cgi?id=37676
yoshimo.kristin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yoshimo.kristin@gmail.com
--- Comment #23 from yoshimo.kristin@gmail.com --- I did an extensive dive into 東方聖戦影 ~ Forlorn Souls of Wicked Past Demo. My full findings were for ValveSoftware's Proton, but my most recent findings also affect Wine's vkd3d.
In short, this game uses Touhou Danmakufu ph3sx v1.33a-pre (source: https://github.com/Natashi/Touhou-Danmakufu-ph3sx-2/tree/v1.33a-pre ), allegedly slightly modified according to unconfirmed hearsay. It attempts to compile Direct3DX9 HLSL effects with `D3DXCreateEffect`. The first one it attempts to compile starts with a sampler declaration, which causes vkd3d to eventually reach `libs/vkd3d-shader/fx.c:write_fx_2_object_initializer:1089`. As the error message says, sampler object initializers aren't implemented yet.
The full extent of my findings are in a compatibility report for Proton, available here https://github.com/ValveSoftware/Proton/issues/8190 . While much of the report involves errors in Proton's Wine and vkd3d (due to being behind), the issue mentioned above is still in Wine's vkd3d, and there are other useful details too.