mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-01-28 16:01:55 -08:00
Fix sample-less reads with lod
This commit is contained in:
parent
970914e2b4
commit
362672ae12
@ -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…
x
Reference in New Issue
Block a user