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