https://bugs.winehq.org/show_bug.cgi?id=51103
--- Comment #4 from Stefan Dösinger stefan@codeweavers.com --- Created attachment 71655 --> https://bugs.winehq.org/attachment.cgi?id=71655 Use integer state instead of bound objects for cross-device state tests
So the problem isn't the state object, the problem is that we are using vertex shaders across two devices. I could salvage most of the test by using the primitive topology setting instead of the bound vertex shader. This way things pass on Nvidia without crashing.
However, the test result is somewhat different in at least one test. A state that was set in context1 now applies to context2. Also there seems to be a huge reference leak in the same situation. That reference leak also happens on other HW on Windows. Maybe this "feature" we are testing here is just a bug?