https://bugs.winehq.org/show_bug.cgi?id=36796
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 70440 --> https://bugs.winehq.org/attachment.cgi?id=70440 patch
Turns out it's using d3d9 syntax for sampler states, like this:
--- Texture2D tex; Texture2D mask;
sampler sSampler = sampler_state { Filter = MIN_MAG_MIP_LINEAR; Texture = tex; AddressU = Clamp; AddressV = Clamp; }; ---
Skipping it like in attached patch works for me. I'll try to understand how it's meant to work.