[PATCH 1/4] wined3d: Introduce a wined3d_state_get_ffp_texture() helper.