Stefan Dösinger : wined3d: Apply shaders in their state handlers.