0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-22 23:05:46 +00:00

Change packed aliasing formats to UInt (#6358)

This commit is contained in:
gdkchan 2024-02-24 19:02:20 -03:00 committed by GitHub
parent 4d0dbbfae2
commit 87f238be60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -674,9 +674,9 @@ namespace Ryujinx.Graphics.Gpu.Image
{ {
1 => new FormatInfo(Format.R8Unorm, 1, 1, 1, 1), 1 => new FormatInfo(Format.R8Unorm, 1, 1, 1, 1),
2 => new FormatInfo(Format.R16Unorm, 1, 1, 2, 1), 2 => new FormatInfo(Format.R16Unorm, 1, 1, 2, 1),
4 => new FormatInfo(Format.R32Float, 1, 1, 4, 1), 4 => new FormatInfo(Format.R32Uint, 1, 1, 4, 1),
8 => new FormatInfo(Format.R32G32Float, 1, 1, 8, 2), 8 => new FormatInfo(Format.R32G32Uint, 1, 1, 8, 2),
16 => new FormatInfo(Format.R32G32B32A32Float, 1, 1, 16, 4), 16 => new FormatInfo(Format.R32G32B32A32Uint, 1, 1, 16, 4),
_ => format, _ => format,
}; };
} }