2023-06-09 18:44:22 +01:00
|
|
|
using System;
|
|
|
|
|
2021-10-12 21:35:31 +01:00
|
|
|
namespace Ryujinx.Graphics.Shader.Decoders
|
|
|
|
{
|
2023-06-09 18:44:22 +01:00
|
|
|
[Flags]
|
2021-10-12 21:35:31 +01:00
|
|
|
enum InstProps : ushort
|
|
|
|
{
|
|
|
|
None = 0,
|
|
|
|
Rd = 1 << 0,
|
|
|
|
Rd2 = 1 << 1,
|
|
|
|
Ra = 1 << 2,
|
|
|
|
Rb = 1 << 3,
|
2021-10-28 23:53:12 +01:00
|
|
|
Rb2 = 1 << 4,
|
|
|
|
Ib = 1 << 5,
|
|
|
|
Rc = 1 << 6,
|
|
|
|
|
|
|
|
Pd = 1 << 7,
|
|
|
|
LPd = 2 << 7,
|
|
|
|
SPd = 3 << 7,
|
|
|
|
TPd = 4 << 7,
|
|
|
|
VPd = 5 << 7,
|
|
|
|
PdMask = 7 << 7,
|
|
|
|
|
|
|
|
Pdn = 1 << 10,
|
|
|
|
Ps = 1 << 11,
|
|
|
|
Tex = 1 << 12,
|
|
|
|
TexB = 1 << 13,
|
|
|
|
Bra = 1 << 14,
|
2023-06-28 07:59:13 +01:00
|
|
|
NoPred = 1 << 15,
|
2021-10-12 21:35:31 +01:00
|
|
|
}
|
2023-06-28 07:59:13 +01:00
|
|
|
}
|