b9aa3966c0
interpreter, and a rewrite of the GPU code.
59 lines
773 B
C#
59 lines
773 B
C#
namespace Ryujinx.Graphics.Gal.Shader
|
|
{
|
|
enum ShaderIrInst
|
|
{
|
|
B_Start,
|
|
Band,
|
|
Bnot,
|
|
Bor,
|
|
Bxor,
|
|
Clt,
|
|
Ceq,
|
|
Cle,
|
|
Cgt,
|
|
Cne,
|
|
Cge,
|
|
Cnum,
|
|
Cnan,
|
|
Cltu,
|
|
Cequ,
|
|
Cleu,
|
|
Cgtu,
|
|
Cneu,
|
|
Cgeu,
|
|
B_End,
|
|
|
|
F_Start,
|
|
Fabs,
|
|
Fadd,
|
|
Fcos,
|
|
Fex2,
|
|
Ffma,
|
|
Flg2,
|
|
Fmul,
|
|
Fneg,
|
|
Frcp,
|
|
Frsq,
|
|
Fsin,
|
|
Ipa,
|
|
Texr,
|
|
Texg,
|
|
Texb,
|
|
Texa,
|
|
F_End,
|
|
|
|
I_Start,
|
|
And,
|
|
Asr,
|
|
Lsr,
|
|
Not,
|
|
Or,
|
|
Stof,
|
|
Utof,
|
|
Xor,
|
|
I_End,
|
|
|
|
Exit,
|
|
Kil
|
|
}
|
|
} |