0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-22 19:15:47 +00:00

Fix image atomics

This commit is contained in:
Isaac Marovitz 2024-08-01 14:39:11 +01:00 committed by Isaac Marovitz
parent c77f3b90a9
commit 3360740250

View file

@ -255,19 +255,11 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
}
texCallBuilder.Append(coordsBuilder);
texCallBuilder.Append(')');
if (texOp.Inst == Instruction.ImageAtomic)
if (texOp.Inst == Instruction.ImageLoad)
{
// TODO: Finish atomic stuff
}
else
{
texCallBuilder.Append(')');
if (texOp.Inst == Instruction.ImageLoad)
{
texCallBuilder.Append(GetMaskMultiDest(texOp.Index));
}
texCallBuilder.Append(GetMaskMultiDest(texOp.Index));
}
return texCallBuilder.ToString();