mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
b9200dd734
* Support conditional on BRK and SYNC shader instructions * Add TODO comment and bump cache version
16 lines
No EOL
515 B
C#
16 lines
No EOL
515 B
C#
using Ryujinx.Graphics.Shader.Instructions;
|
|
|
|
namespace Ryujinx.Graphics.Shader.Decoders
|
|
{
|
|
class OpCodeConditional : OpCode
|
|
{
|
|
public Condition Condition { get; }
|
|
|
|
public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodeExit(emitter, address, opCode);
|
|
|
|
public OpCodeConditional(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
|
|
{
|
|
Condition = (Condition)opCode.Extract(0, 5);
|
|
}
|
|
}
|
|
} |