Fix sample-less reads with lod
This commit is contained in:
parent
a07975afec
commit
4ee4e09358
@ -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…
x
Reference in New Issue
Block a user