WIP: Experimental: Metal backend #439

Closed
GreemDev wants to merge 374 commits from metal into master
Showing only changes of commit a669592651 - Show all commits

View File

@ -449,6 +449,12 @@ namespace Ryujinx.Graphics.Metal
{ {
Program prg = (Program)program; Program prg = (Program)program;
if (prg.VertexFunction == null)
{
Logger.Error?.PrintMsg(LogClass.Gpu, "Invalid Vertex Function!");
return;
}
_renderEncoderState = new RenderEncoderState( _renderEncoderState = new RenderEncoderState(
prg.VertexFunction, prg.VertexFunction,
prg.FragmentFunction, prg.FragmentFunction,