2021-01-09 01:55:55 +00:00
|
|
|
|
using Ryujinx.Graphics.Shader.Instructions;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Shader.Decoders
|
|
|
|
|
{
|
|
|
|
|
class OpCodeConditional : OpCode
|
|
|
|
|
{
|
|
|
|
|
public Condition Condition { get; }
|
|
|
|
|
|
2021-01-09 23:11:31 +00:00
|
|
|
|
public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodeConditional(emitter, address, opCode);
|
2021-01-09 01:55:55 +00:00
|
|
|
|
|
|
|
|
|
public OpCodeConditional(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
|
|
|
|
|
{
|
|
|
|
|
Condition = (Condition)opCode.Extract(0, 5);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|