mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-24 07:26:03 +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
|
@ -293,7 +293,14 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
|||
|
||||
if (hasLodLevel)
|
||||
{
|
||||
Append($"level({Src(coordType)})");
|
||||
if (intCoords)
|
||||
{
|
||||
Append(Src(coordType));
|
||||
}
|
||||
else
|
||||
{
|
||||
Append($"level({Src(coordType)})");
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Support offsets
|
||||
|
|
Loading…
Reference in a new issue