mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-21 21:30:53 -05:00
Shader Memory Barriers
Fixes some of the shader generation failures in Sonic Frontiers
This commit is contained in:
committed by
Evan Husted
parent
d42f0e5945
commit
6229f3bb4c
@@ -131,7 +131,8 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
||||
case Instruction.FSIEnd:
|
||||
return "|| FSI END ||";
|
||||
case Instruction.GroupMemoryBarrier:
|
||||
return "|| FIND GROUP MEMORY BARRIER ||";
|
||||
case Instruction.MemoryBarrier:
|
||||
return MemoryBarrier(context, operation);
|
||||
case Instruction.ImageLoad:
|
||||
case Instruction.ImageStore:
|
||||
case Instruction.ImageAtomic:
|
||||
@@ -140,8 +141,6 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
||||
return Load(context, operation);
|
||||
case Instruction.Lod:
|
||||
return Lod(context, operation);
|
||||
case Instruction.MemoryBarrier:
|
||||
return "|| MEMORY BARRIER ||";
|
||||
case Instruction.Store:
|
||||
return Store(context, operation);
|
||||
case Instruction.SwizzleAdd:
|
||||
|
||||
Reference in New Issue
Block a user