WIP: Experimental: Metal backend #439

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

View File

@ -292,9 +292,16 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
} }
if (hasLodLevel) if (hasLodLevel)
{
if (intCoords)
{
Append(Src(coordType));
}
else
{ {
Append($"level({Src(coordType)})"); Append($"level({Src(coordType)})");
} }
}
// TODO: Support offsets // TODO: Support offsets