shader_ir/conversion: Split int and float selector and implement F2F H1
This commit is contained in:
parent
b13fbc25b8
commit
e3534700d7
2 changed files with 24 additions and 19 deletions
|
@ -1006,7 +1006,6 @@ union Instruction {
|
|||
} iset;
|
||||
|
||||
union {
|
||||
BitField<41, 2, u64> selector;
|
||||
BitField<45, 1, u64> negate_a;
|
||||
BitField<49, 1, u64> abs_a;
|
||||
BitField<10, 2, Register::Size> src_size;
|
||||
|
@ -1031,6 +1030,14 @@ union Instruction {
|
|||
return static_cast<F2fRoundingOp>(rounding.Value() & rounding_mask);
|
||||
}
|
||||
} f2f;
|
||||
|
||||
union {
|
||||
BitField<41, 2, u64> selector;
|
||||
} int_src;
|
||||
|
||||
union {
|
||||
BitField<41, 1, u64> selector;
|
||||
} float_src;
|
||||
} conversion;
|
||||
|
||||
union {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue