Start Metal Backend
Revert build yml changes
This commit is contained in:
parent
5dbba07e33
commit
ebaf1d8258
24 changed files with 2576 additions and 2 deletions
14
src/Ryujinx.Graphics.Metal/FormatCapabilities.cs
Normal file
14
src/Ryujinx.Graphics.Metal/FormatCapabilities.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using SharpMetal;
|
||||
|
||||
namespace Ryujinx.Graphics.Metal
|
||||
{
|
||||
static class FormatCapabilities
|
||||
{
|
||||
public static MTLPixelFormat ConvertToMTLFormat(GAL.Format srcFormat)
|
||||
{
|
||||
var format = FormatTable.GetFormat(srcFormat);
|
||||
|
||||
return format;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue