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
1 changed files with 3 additions and 3 deletions

View File

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