gl_shader_decompiler: Use FlowCondition field in EXIT instruction.
This commit is contained in:
parent
274d1fb0fc
commit
4757ffdcce
2 changed files with 34 additions and 8 deletions
|
@ -201,6 +201,11 @@ enum class IMinMaxExchange : u64 {
|
|||
XHi = 3,
|
||||
};
|
||||
|
||||
enum class FlowCondition : u64 {
|
||||
Always = 0xF,
|
||||
Fcsm_Tr = 0x1C, // TODO(bunnei): What is this used for?
|
||||
};
|
||||
|
||||
union Instruction {
|
||||
Instruction& operator=(const Instruction& instr) {
|
||||
value = instr.value;
|
||||
|
@ -315,6 +320,10 @@ union Instruction {
|
|||
}
|
||||
} bfe;
|
||||
|
||||
union {
|
||||
BitField<0, 5, FlowCondition> cond;
|
||||
} flow;
|
||||
|
||||
union {
|
||||
BitField<48, 1, u64> negate_b;
|
||||
BitField<49, 1, u64> negate_c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue