mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
nv50: fix reg count
This commit is contained in:
parent
aaa8802a22
commit
fc1d72d15d
1 changed files with 2 additions and 2 deletions
|
|
@ -312,8 +312,8 @@ nv50_generate_code(struct nv50_translation_info *ti)
|
|||
ti->p->immd_size = pc->immd_count * 4;
|
||||
ti->p->immd = pc->immd_buf;
|
||||
|
||||
ti->p->max_gpr = (pc->max_reg[NV_FILE_GPR] + 1) >> 1;
|
||||
ti->p->max_gpr++;
|
||||
/* highest 16 bit reg to num of 32 bit regs */
|
||||
ti->p->max_gpr = (pc->max_reg[NV_FILE_GPR] >> 1) + 1;
|
||||
|
||||
ti->p->fixups = pc->fixups;
|
||||
ti->p->num_fixups = pc->num_fixups;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue