[PATCH 4/4] wined3d: Allow multisample source locations for all colour blits.

Henri Verbeet hverbeet at codeweavers.com
Thu May 28 13:02:18 CDT 2020


From: Paul Gofman <pgofman at codeweavers.com>

Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
This supersedes patch 185898.

 dlls/wined3d/surface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 94743c45e34..503f9f45e1d 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1707,7 +1707,7 @@ HRESULT texture2d_blt(struct wined3d_texture *dst_texture, unsigned int dst_sub_
 
     if (src_texture->resource.multisample_type != WINED3D_MULTISAMPLE_NONE
             && ((scale && !context->d3d_info->scaled_resolve)
-            || convert || blit_op != WINED3D_BLIT_OP_COLOR_BLIT))
+            || convert || !wined3d_is_colour_blit(blit_op)))
         src_location = WINED3D_LOCATION_RB_RESOLVED;
     else
         src_location = src_texture->resource.draw_binding;
-- 
2.20.1




More information about the wine-devel mailing list