http://bugs.winehq.org/show_bug.cgi?id=14031
--- Comment #1 from Alexander Dorofeyev alexd4@inbox.lv 2008-06-21 09:21:14 --- Unfortunately, as of now I know very little about shaders, so where shaders are involved I can't help much, I'm afraid. Stefan or Roderick may know more about this. I may hazard a guess that some advanced d3d9 features are poorly supported on Geforce FX series GPUs, because some opengl features emulation relies on are not present on them and/or an alternative codepath is needed that is not implemented.
With functions applyign states call stack usually is quite useless. State changes made by some d3d calls are cached internally by wined3d then are applied when it becomes necessary - usually before primitives are rendered or something. If you are interested in collecting more info on this bug, hacking the function to print some values is more useful. state and bumpmap are the ones that are important there.