Skip to content
Snippets Groups Projects
Commit 08674aee authored by Fernando Sahmkow's avatar Fernando Sahmkow
Browse files

Texture Cache: Fix issue with blitting 3D textures.

parent 1e474fb9
No related branches found
No related tags found
No related merge requests found
......@@ -1155,11 +1155,13 @@ void DeduceBlitImages(ImageInfo& dst_info, ImageInfo& src_info, const ImageBase*
if (src) {
is_resolve = src->info.num_samples > 1;
src_info.num_samples = src->info.num_samples;
src_info.size = src->info.size;
src_info.size.width = src->info.size.width;
src_info.size.height = src->info.size.height;
}
if (dst) {
dst_info.num_samples = dst->info.num_samples;
dst_info.size = dst->info.size;
dst_info.size.width = dst->info.size.width;
dst_info.size.height = dst->info.size.height;
}
ASSERT(!is_resolve || dst_info.format == src_info.format);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment