http://bugs.winehq.org/show_bug.cgi?id=8051
--- Comment #87 from Andy Clayton clayt055@umn.edu 2009-01-22 16:35:15 --- (In reply to comment #86)
What about hardware vertex shader implementation ?
Please, please read bug history...
(In reply to comment #18)
The problem is not the CreateSurface call, the issue is that this game tries to set 1024 vertex Shader constants, but current GPUs only support up to 256. D3D is supposed to return an error in that condition, a test confirms that. The game is using software vertex processing as well. Wether the 1024 is wrong already, or sw vp is supposed to support that many constants remains to be found out.
(In reply to comment #21)
three problems identified so far:
- as mentioned in comment #18 it tries to set 1024 vertex shader constants.
d3d9 allows up to 8192 constants in software vertex processing mode so that request should be valid. As it seems there isn't really a "software processing mode" in wined3d (right?), so for now just ignore any constants beyond the ones that wined3d and the hw supports. Here it is just used to initially set these constants to zero so it shouldn't cause too much trouble.