Initial work
This commit is contained in:
16
Ryujinx.Graphics.Shader/Decoders/OpCodeFArithRegCbuf.cs
Normal file
16
Ryujinx.Graphics.Shader/Decoders/OpCodeFArithRegCbuf.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using Ryujinx.Graphics.Shader.Instructions;
|
||||
|
||||
namespace Ryujinx.Graphics.Shader.Decoders
|
||||
{
|
||||
class OpCodeFArithRegCbuf : OpCodeFArith, IOpCodeRegCbuf
|
||||
{
|
||||
public int Offset { get; }
|
||||
public int Slot { get; }
|
||||
|
||||
public OpCodeFArithRegCbuf(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
|
||||
{
|
||||
Offset = opCode.Extract(20, 14);
|
||||
Slot = opCode.Extract(34, 5);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user