2018-04-08 21:17:35 +02:00
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
|
|
|
enum ShaderIrInst
|
|
|
|
{
|
2018-04-10 21:50:32 +02:00
|
|
|
Invalid,
|
|
|
|
|
2018-04-08 21:17:35 +02:00
|
|
|
B_Start,
|
|
|
|
Band,
|
|
|
|
Bnot,
|
|
|
|
Bor,
|
|
|
|
Bxor,
|
|
|
|
B_End,
|
|
|
|
|
|
|
|
F_Start,
|
2018-04-10 21:50:32 +02:00
|
|
|
Ceil,
|
2018-04-26 04:11:26 +02:00
|
|
|
|
2018-04-08 21:17:35 +02:00
|
|
|
Fabs,
|
|
|
|
Fadd,
|
2018-04-10 21:50:32 +02:00
|
|
|
Fceq,
|
|
|
|
Fcequ,
|
|
|
|
Fcge,
|
|
|
|
Fcgeu,
|
|
|
|
Fcgt,
|
|
|
|
Fcgtu,
|
2018-04-26 04:11:26 +02:00
|
|
|
Fclamp,
|
2018-04-10 21:50:32 +02:00
|
|
|
Fcle,
|
|
|
|
Fcleu,
|
|
|
|
Fclt,
|
|
|
|
Fcltu,
|
|
|
|
Fcnan,
|
|
|
|
Fcne,
|
|
|
|
Fcneu,
|
|
|
|
Fcnum,
|
2018-04-08 21:17:35 +02:00
|
|
|
Fcos,
|
|
|
|
Fex2,
|
|
|
|
Ffma,
|
|
|
|
Flg2,
|
2018-04-10 21:50:32 +02:00
|
|
|
Floor,
|
2018-05-17 20:25:42 +02:00
|
|
|
Fmax,
|
|
|
|
Fmin,
|
2018-04-08 21:17:35 +02:00
|
|
|
Fmul,
|
|
|
|
Fneg,
|
|
|
|
Frcp,
|
|
|
|
Frsq,
|
|
|
|
Fsin,
|
2018-06-23 07:00:44 +02:00
|
|
|
Fsqrt,
|
2018-04-10 21:50:32 +02:00
|
|
|
Ftos,
|
|
|
|
Ftou,
|
2018-04-08 21:17:35 +02:00
|
|
|
Ipa,
|
2018-04-10 21:50:32 +02:00
|
|
|
Texs,
|
|
|
|
Trunc,
|
2018-04-08 21:17:35 +02:00
|
|
|
F_End,
|
|
|
|
|
|
|
|
I_Start,
|
2018-05-17 20:25:42 +02:00
|
|
|
Abs,
|
|
|
|
Add,
|
2018-04-08 21:17:35 +02:00
|
|
|
And,
|
|
|
|
Asr,
|
2018-04-10 21:50:32 +02:00
|
|
|
Ceq,
|
|
|
|
Cge,
|
|
|
|
Cgt,
|
2018-04-26 04:11:26 +02:00
|
|
|
Clamps,
|
|
|
|
Clampu,
|
2018-04-10 21:50:32 +02:00
|
|
|
Cle,
|
|
|
|
Clt,
|
|
|
|
Cne,
|
2018-05-17 20:25:42 +02:00
|
|
|
Lsl,
|
2018-04-08 21:17:35 +02:00
|
|
|
Lsr,
|
2018-05-30 01:37:10 +02:00
|
|
|
Max,
|
|
|
|
Min,
|
2018-05-17 20:25:42 +02:00
|
|
|
Mul,
|
|
|
|
Neg,
|
2018-04-08 21:17:35 +02:00
|
|
|
Not,
|
|
|
|
Or,
|
|
|
|
Stof,
|
2018-05-17 20:25:42 +02:00
|
|
|
Sub,
|
2018-04-10 21:50:32 +02:00
|
|
|
Texq,
|
|
|
|
Txlf,
|
2018-04-08 21:17:35 +02:00
|
|
|
Utof,
|
|
|
|
Xor,
|
|
|
|
I_End,
|
|
|
|
|
2018-05-17 20:25:42 +02:00
|
|
|
Bra,
|
2018-04-08 21:17:35 +02:00
|
|
|
Exit,
|
|
|
|
Kil
|
|
|
|
}
|
|
|
|
}
|