On Wed, 20 Apr 2022 at 03:20, Zebediah Figura zfigura@codeweavers.com wrote:
@@ -4393,6 +4393,9 @@ struct wined3d_texture_ops const struct wined3d_bo_address *dst_bo_addr, const struct wined3d_format *dst_format, unsigned int dst_x, unsigned int dst_y, unsigned int dst_z, unsigned int dst_row_pitch, unsigned int dst_slice_pitch);
- /* "location" is a hint, and need not be the resulting location. */
- void (*texture_clear)(struct wined3d_texture *texture, unsigned int sub_resource_idx,
struct wined3d_context *context, unsigned int location);
};
Why do we need this? More specifically, what prevents us from using the existing texture_load_location() op?