mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
nvc0: don't omit highest bit of branch target
Fixes negative relative branch offsets.
This commit is contained in:
parent
419ff10b0e
commit
005d186d66
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ emit_flow(struct nv_pc *pc, struct nv_instruction *i, uint8_t op)
|
|||
*/
|
||||
|
||||
pc->emit[0] |= (pcrel & 0x3f) << 26;
|
||||
pc->emit[1] |= (pcrel >> 6) & 0x1ffff;
|
||||
pc->emit[1] |= (pcrel >> 6) & 0x3ffff;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue