[PATCH v4 1/5] wined3d: Factor out wined3d_stateblock_rs_changed() function.