On 12 February 2018 at 21:16, Józef Kucia jkucia@codeweavers.com wrote:
- dst_level = dst_sub_resource_idx % dst_texture->level_count;
- SetRect(&dst_rect, 0, 0, wined3d_texture_get_level_width(dst_texture, dst_level),
wined3d_texture_get_level_height(dst_texture, dst_level));
- src_level = src_sub_resource_idx % src_texture->level_count;
- SetRect(&src_rect, 0, 0, wined3d_texture_get_level_width(src_texture, src_level),
wined3d_texture_get_level_height(src_texture, src_level));
- wined3d_texture_blt(dst_texture, dst_sub_resource_idx, &dst_rect,
src_texture, src_sub_resource_idx, &src_rect, 0, NULL, WINED3D_TEXF_POINT);
+}
Would there be any value in calling wined3d_cs_emit_blt_sub_resource() directly?