mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 01:50:46 -07:00
Partial support for shader memory barriers
This commit is contained in:
14
Ryujinx.Graphics.Shader/Decoders/OpCodeBarrier.cs
Normal file
14
Ryujinx.Graphics.Shader/Decoders/OpCodeBarrier.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using Ryujinx.Graphics.Shader.Instructions;
|
||||
|
||||
namespace Ryujinx.Graphics.Shader.Decoders
|
||||
{
|
||||
class OpCodeBarrier : OpCode
|
||||
{
|
||||
public BarrierMode Mode { get; }
|
||||
|
||||
public OpCodeBarrier(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
|
||||
{
|
||||
Mode = (BarrierMode)((opCode >> 32) & 0x9b);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user