mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-23 17:00:52 -05:00
Fix image atomics
This commit is contained in:
committed by
Evan Husted
parent
5d59c552e7
commit
6f24b88e88
@@ -255,19 +255,11 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
||||
}
|
||||
|
||||
texCallBuilder.Append(coordsBuilder);
|
||||
texCallBuilder.Append(')');
|
||||
|
||||
if (texOp.Inst == Instruction.ImageAtomic)
|
||||
if (texOp.Inst == Instruction.ImageLoad)
|
||||
{
|
||||
// TODO: Finish atomic stuff
|
||||
}
|
||||
else
|
||||
{
|
||||
texCallBuilder.Append(')');
|
||||
|
||||
if (texOp.Inst == Instruction.ImageLoad)
|
||||
{
|
||||
texCallBuilder.Append(GetMaskMultiDest(texOp.Index));
|
||||
}
|
||||
texCallBuilder.Append(GetMaskMultiDest(texOp.Index));
|
||||
}
|
||||
|
||||
return texCallBuilder.ToString();
|
||||
|
||||
Reference in New Issue
Block a user