mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-24 14:36:02 +00:00
Undertale boots
This commit is contained in:
parent
ce5f5a6442
commit
00fce5a51d
2 changed files with 24 additions and 2 deletions
|
@ -86,8 +86,8 @@ namespace Ryujinx.Graphics.Metal
|
||||||
|
|
||||||
public IProgram CreateProgram(ShaderSource[] shaders, ShaderInfo info)
|
public IProgram CreateProgram(ShaderSource[] shaders, ShaderInfo info)
|
||||||
{
|
{
|
||||||
var library = _device.NewDefaultLibrary();
|
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
||||||
throw new NotImplementedException();
|
return new Program();
|
||||||
}
|
}
|
||||||
|
|
||||||
public ISampler CreateSampler(SamplerCreateInfo info)
|
public ISampler CreateSampler(SamplerCreateInfo info)
|
||||||
|
|
22
src/Ryujinx.Graphics.Metal/Program.cs
Normal file
22
src/Ryujinx.Graphics.Metal/Program.cs
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
using Ryujinx.Graphics.GAL;
|
||||||
|
|
||||||
|
namespace Ryujinx.Graphics.Metal
|
||||||
|
{
|
||||||
|
public class Program : IProgram
|
||||||
|
{
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ProgramLinkStatus CheckProgramLink(bool blocking)
|
||||||
|
{
|
||||||
|
return ProgramLinkStatus.Failure;
|
||||||
|
}
|
||||||
|
|
||||||
|
public byte[] GetBinary()
|
||||||
|
{
|
||||||
|
return new byte[] {};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue