mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 11:03:04 +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