Add support for the R4G4 texture format (#2956)
This commit is contained in:
parent
1485780d90
commit
c05c8e09d4
7 changed files with 72 additions and 18 deletions
|
@ -66,6 +66,11 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
}
|
||||
}
|
||||
|
||||
if (!caps.SupportsR4G4Format && info.FormatInfo.Format == Format.R4G4Unorm)
|
||||
{
|
||||
return new FormatInfo(Format.R4G4B4A4Unorm, 1, 1, 2, 4);
|
||||
}
|
||||
|
||||
if (info.Target == Target.Texture3D)
|
||||
{
|
||||
// The host API does not support 3D BC4/BC5 compressed formats.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue