[PATCH 4/4] wined3d: Move state handling to wined3d_cs_emit_set_shader().