mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 20:45:46 +00:00
shader_ir/conversion: Split int and float selector and implement F2F H1
This commit is contained in:
parent
d9ad389777
commit
6f134adf2a
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