mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 07:41:41 +00:00
27 lines
606 B
C#
27 lines
606 B
C#
|
using System;
|
||
|
|
||
|
namespace Ryujinx.Graphics.Shader.CodeGen.Glsl.Instructions
|
||
|
{
|
||
|
[Flags]
|
||
|
enum InstType
|
||
|
{
|
||
|
OpNullary = Op | 0,
|
||
|
OpUnary = Op | 1,
|
||
|
OpBinary = Op | 2,
|
||
|
OpTernary = Op | 3,
|
||
|
OpBinaryCom = OpBinary | Comutative,
|
||
|
|
||
|
CallNullary = Call | 0,
|
||
|
CallUnary = Call | 1,
|
||
|
CallBinary = Call | 2,
|
||
|
CallTernary = Call | 3,
|
||
|
CallQuaternary = Call | 4,
|
||
|
|
||
|
Comutative = 1 << 8,
|
||
|
Op = 1 << 9,
|
||
|
Call = 1 << 10,
|
||
|
Special = 1 << 11,
|
||
|
|
||
|
ArityMask = 0xff
|
||
|
}
|
||
|
}
|