http://bugs.winehq.org/show_bug.cgi?id=16444
Pauli Nieminen paniemin@cc.hut.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #6 from Pauli Nieminen paniemin@cc.hut.fi 2008-12-12 07:37:14 --- I have beend debuging the crash and problem seems to be this (at leas in d3d8 test case)
Wine frequantly disables VERTEX_PROGRAM_ARB in shader_select function. In the test that crash happens DrawPrimitiveUP is called with vertex shader enabled but wine never tells GL to enable vertex prgorams before glDrawArrays is called. Now driver tries to handle drawing code but it thinks fixed function pipeline should be used for vertex processing because vertex program isn't enabled. assertion failure happens in code that tries to upload fixed function data to card but wine haven't provided correct data for that.
If I enable VERTEX_PROGRAM_ARB in IWineD3DDeviceImpl_CreateVertexShader all test case are run but I get 3 failures. So problem is that wine doesn't correctly call shader_select before trying to render the scene.