Fix image atomics

This commit is contained in:
Isaac Marovitz 2024-08-01 14:39:11 +01:00
parent 29f1abe74a
commit 5671380483
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1

View File

@ -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();
} }