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,
|
|
|
|
Clamp,
|
2018-04-08 21:17:35 +02:00
|
|
|
Fabs,
|
|
|
|
Fadd,
|
2018-04-10 21:50:32 +02:00
|
|
|
Fceq,
|
|
|
|
Fcequ,
|
|
|
|
Fcge,
|
|
|
|
Fcgeu,
|
|
|
|
Fcgt,
|
|
|
|
Fcgtu,
|
|
|
|
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-04-08 21:17:35 +02:00
|
|
|
Fmul,
|
|
|
|
Fneg,
|
|
|
|
Frcp,
|
|
|
|
Frsq,
|
|
|
|
Fsin,
|
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,
|
|
|
|
And,
|
|
|
|
Asr,
|
2018-04-10 21:50:32 +02:00
|
|
|
Ceq,
|
|
|
|
Cge,
|
|
|
|
Cgt,
|
|
|
|
Cle,
|
|
|
|
Clt,
|
|
|
|
Cne,
|
2018-04-08 21:17:35 +02:00
|
|
|
Lsr,
|
|
|
|
Not,
|
|
|
|
Or,
|
|
|
|
Stof,
|
2018-04-10 21:50:32 +02:00
|
|
|
Texq,
|
|
|
|
Txlf,
|
2018-04-08 21:17:35 +02:00
|
|
|
Utof,
|
|
|
|
Xor,
|
|
|
|
I_End,
|
|
|
|
|
|
|
|
Exit,
|
|
|
|
Kil
|
|
|
|
}
|
|
|
|
}
|