Undertale boots

This commit is contained in:
Isaac Marovitz 2023-08-02 21:53:49 -04:00 committed by Isaac Marovitz
parent ce5f5a6442
commit 00fce5a51d
2 changed files with 24 additions and 2 deletions

View file

@ -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)

View 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[] {};
}
}
}