mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-30 20:54:30 +01:00
Fix non atomic image loads again
This commit is contained in:
parent
068a83bdfb
commit
29e6f17978
@ -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 New Issue
Block a user