http://bugs.winehq.org/show_bug.cgi?id=27194
--- Comment #11 from Henri Verbeet hverbeet@gmail.com 2011-07-04 09:38:08 CDT --- (In reply to comment #10)
trace:d3d9:IDirect3DDevice9Impl_CreateVertexShader Created vertex shader 0x10cb8c58. ... trace:d3d9:IDirect3DDevice9Impl_SetPixelShader iface 0x10eab940, shader 0x10cb8c58.
Looks like it really does create the pixel shader as vertex shader. It may take a while to fix this. As a quick hack you could perhaps try raising the sampler limit ("shader->limits.sampler = 4;") in vertexshader_set_limits().