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

Fix non atomic image loads again

This commit is contained in:
Isaac Marovitz 2024-08-01 18:40:34 +01:00 committed by Isaac Marovitz
parent 068a83bdfb
commit 29e6f17978

View file

@ -253,13 +253,12 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
texCallBuilder.Append($"{prefix}4({string.Join(", ", cElems)})");
texCallBuilder.Append(", ");
texCallBuilder.Append(coordsBuilder);
}
texCallBuilder.Append(coordsBuilder);
if (texOp.Inst == Instruction.ImageAtomic)
{
// Atomics do (coord, value)
texCallBuilder.Append(coordsBuilder);
texCallBuilder.Append(", ");
AggregateType type = texOp.Format.GetComponentType();