Fix R4G4B4A4 format on Vulkan (#3696)
This commit is contained in:
parent
36172ab43b
commit
2492e7e808
3 changed files with 10 additions and 16 deletions
|
@ -108,6 +108,10 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
{
|
||||
format = VkFormat.D32SfloatS8Uint;
|
||||
}
|
||||
else if (srcFormat == GAL.Format.R4G4B4A4Unorm)
|
||||
{
|
||||
format = VkFormat.R4G4B4A4UnormPack16;
|
||||
}
|
||||
else
|
||||
{
|
||||
Logger.Error?.Print(LogClass.Gpu, $"Format {srcFormat} is not supported by the host.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue