mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
nak/sm20: Use the correct index field for OpS2R
It's 10 bits, not 6.
Fixes: 078ffb860b ("nak/sm20: Add initial SM20 encoding")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34619>
This commit is contained in:
parent
4d8d6a28c8
commit
7d3a99a46c
1 changed files with 1 additions and 1 deletions
|
|
@ -2597,7 +2597,7 @@ impl SM20Op for OpS2R {
|
|||
fn encode(&self, e: &mut SM20Encoder<'_>) {
|
||||
e.set_opcode(SM20Unit::Move, 0xb);
|
||||
e.set_dst(14..20, self.dst);
|
||||
e.set_field(26..32, self.idx);
|
||||
e.set_field(26..36, self.idx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue