Merge pull request #2823 from ReinUsesLisp/shr-clamp
shader/shift: Implement SHR wrapped and clamped variants
This commit is contained in:
commit
34b2c60f95
2 changed files with 17 additions and 6 deletions
|
@ -674,6 +674,10 @@ union Instruction {
|
|||
BitField<48, 1, u64> is_signed;
|
||||
} shift;
|
||||
|
||||
union {
|
||||
BitField<39, 1, u64> wrap;
|
||||
} shr;
|
||||
|
||||
union {
|
||||
BitField<39, 5, u64> shift_amount;
|
||||
BitField<48, 1, u64> negate_b;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue