Remove Texture::CopyFrom format check

The formats of the textures involved in a texture were checked for equality, this broke certain copies as the presentation engine would invoke copies between textures of different yet compatible formats.

Co-authored-by: PixelyIon <pixelyion@protonmail.com>
This commit is contained in:
Billy Laws 2022-07-17 12:35:53 +05:30 committed by PixelyIon
parent 58174f255f
commit 00d434efdc
No known key found for this signature in database
GPG Key ID: 11BC6C3201BC2C05

View File

@ -803,8 +803,6 @@ namespace skyline::gpu {
throw exception("Cannot copy from image with undefined layout");
else if (source->dimensions != dimensions)
throw exception("Cannot copy from image with different dimensions");
else if (source->format != format)
throw exception("Cannot copy from image with different format");
TRACE_EVENT("gpu", "Texture::CopyFrom");