mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-19 18:42:02 +00:00
Fix non atomic image loads again
This commit is contained in:
parent
068a83bdfb
commit
29e6f17978
1 changed files with 2 additions and 3 deletions
|
@ -253,13 +253,12 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
||||||
|
|
||||||
texCallBuilder.Append($"{prefix}4({string.Join(", ", cElems)})");
|
texCallBuilder.Append($"{prefix}4({string.Join(", ", cElems)})");
|
||||||
texCallBuilder.Append(", ");
|
texCallBuilder.Append(", ");
|
||||||
texCallBuilder.Append(coordsBuilder);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
texCallBuilder.Append(coordsBuilder);
|
||||||
|
|
||||||
if (texOp.Inst == Instruction.ImageAtomic)
|
if (texOp.Inst == Instruction.ImageAtomic)
|
||||||
{
|
{
|
||||||
// Atomics do (coord, value)
|
|
||||||
texCallBuilder.Append(coordsBuilder);
|
|
||||||
texCallBuilder.Append(", ");
|
texCallBuilder.Append(", ");
|
||||||
|
|
||||||
AggregateType type = texOp.Format.GetComponentType();
|
AggregateType type = texOp.Format.GetComponentType();
|
||||||
|
|
Loading…
Reference in a new issue