Merge pull request #2812 from ReinUsesLisp/f2i-selector
shader_ir/conversion: Implement F2I and F2F F16 selector
This commit is contained in:
commit
81fbc5370d
2 changed files with 23 additions and 7 deletions
|
@ -1020,7 +1020,6 @@ union Instruction {
|
|||
} iset;
|
||||
|
||||
union {
|
||||
BitField<41, 2, u64> selector; // i2i and i2f only
|
||||
BitField<45, 1, u64> negate_a;
|
||||
BitField<49, 1, u64> abs_a;
|
||||
BitField<10, 2, Register::Size> src_size;
|
||||
|
@ -1046,6 +1045,13 @@ union Instruction {
|
|||
}
|
||||
} 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