Fix image atomics
This commit is contained in:
parent
c77f3b90a9
commit
3360740250
1 changed files with 3 additions and 11 deletions
|
@ -255,20 +255,12 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
||||||
}
|
}
|
||||||
|
|
||||||
texCallBuilder.Append(coordsBuilder);
|
texCallBuilder.Append(coordsBuilder);
|
||||||
|
|
||||||
if (texOp.Inst == Instruction.ImageAtomic)
|
|
||||||
{
|
|
||||||
// TODO: Finish atomic stuff
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
texCallBuilder.Append(')');
|
texCallBuilder.Append(')');
|
||||||
|
|
||||||
if (texOp.Inst == Instruction.ImageLoad)
|
if (texOp.Inst == Instruction.ImageLoad)
|
||||||
{
|
{
|
||||||
texCallBuilder.Append(GetMaskMultiDest(texOp.Index));
|
texCallBuilder.Append(GetMaskMultiDest(texOp.Index));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return texCallBuilder.ToString();
|
return texCallBuilder.ToString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue