mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-20 04:42:00 +00:00
Fix sample-less reads with lod
This commit is contained in:
parent
970914e2b4
commit
362672ae12
1 changed files with 8 additions and 1 deletions
|
@ -292,9 +292,16 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
|||
}
|
||||
|
||||
if (hasLodLevel)
|
||||
{
|
||||
if (intCoords)
|
||||
{
|
||||
Append(Src(coordType));
|
||||
}
|
||||
else
|
||||
{
|
||||
Append($"level({Src(coordType)})");
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Support offsets
|
||||
|
||||
|
|
Loading…
Reference in a new issue