[PATCH 1/5] wined3d: Avoid raw blits when resolving multisample textures.

Henri Verbeet hverbeet at gmail.com
Tue Feb 13 04:37:00 CST 2018


On 12 February 2018 at 21:16, Józef Kucia <jkucia at codeweavers.com> wrote:
> @@ -3844,6 +3844,7 @@ HRESULT wined3d_surface_blt(struct wined3d_surface *dst_surface, const RECT *dst
>      scale = src_rect->right - src_rect->left != dst_rect->right - dst_rect->left
>              || src_rect->bottom - src_rect->top != dst_rect->bottom - dst_rect->top;
>      convert = src_texture->resource.format->id != dst_texture->resource.format->id;
> +    resolve = src_texture->resource.multisample_type != dst_texture->resource.multisample_type;
That's probably fine to start with, but generally speaking I suspect
we still allow some blits we shouldn't, like e.g. sample count 4 ->
sample count 4 or "resolving" from sample count 4 to sample count 2.



More information about the wine-devel mailing list