mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
nv50: emit predicate for interp
This commit is contained in:
parent
1bbbc8e0c8
commit
eaab764578
1 changed files with 5 additions and 1 deletions
|
|
@ -596,8 +596,12 @@ emit_interp(struct nv_pc *pc, struct nv_instruction *i)
|
|||
if (i->centroid)
|
||||
pc->emit[0] |= 1 << 24;
|
||||
|
||||
assert(i->is_long || !i->flags_src);
|
||||
|
||||
if (i->is_long) {
|
||||
pc->emit[1] |= 0x0780 |
|
||||
set_pred(pc, i);
|
||||
|
||||
pc->emit[1] |=
|
||||
(pc->emit[0] & (3 << 24)) >> (24 - 16) |
|
||||
(pc->emit[0] & (1 << 8)) >> (18 - 8);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue