mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07:00
Fix image atomics
This commit is contained in:
parent
29f1abe74a
commit
5671380483
@ -255,19 +255,11 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
|||||||
}
|
}
|
||||||
|
|
||||||
texCallBuilder.Append(coordsBuilder);
|
texCallBuilder.Append(coordsBuilder);
|
||||||
|
texCallBuilder.Append(')');
|
||||||
|
|
||||||
if (texOp.Inst == Instruction.ImageAtomic)
|
if (texOp.Inst == Instruction.ImageLoad)
|
||||||
{
|
{
|
||||||
// TODO: Finish atomic stuff
|
texCallBuilder.Append(GetMaskMultiDest(texOp.Index));
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
texCallBuilder.Append(')');
|
|
||||||
|
|
||||||
if (texOp.Inst == Instruction.ImageLoad)
|
|
||||||
{
|
|
||||||
texCallBuilder.Append(GetMaskMultiDest(texOp.Index));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return texCallBuilder.ToString();
|
return texCallBuilder.ToString();
|
||||||
|
Loading…
Reference in New Issue
Block a user