On 28/11/05, Raphael fenix@club-internet.fr wrote:
Can you send you patch to wine-patches ?
Thx
Sure, I'll try to send it sometime tonight.
Right now, the demo dies somewhere in IWineD3DPixelShaderImpl_SetFunction. At first sight, I'd say it never detects the end of its input and just keeps on reading untill it generates an access violation.
Strange, PS Functions should be terminated by NULL token (see D3DPS_END()) can you send a WINEDEBUG="+d3d_shader" log ?
I actually already figured that one out :) The version variable gets set incorrectly, which causes some opcodes to get interpreted incorrectly, including the D3DPS_END marker. I'll send a patch for that one as well.