mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 11:03:04 +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)
|
if (hasLodLevel)
|
||||||
{
|
{
|
||||||
Append($"level({Src(coordType)})");
|
if (intCoords)
|
||||||
|
{
|
||||||
|
Append(Src(coordType));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Append($"level({Src(coordType)})");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Support offsets
|
// TODO: Support offsets
|
||||||
|
|
Loading…
Reference in a new issue