mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
965: count grf allocation correctly for wm prog, first aub triangle
This commit is contained in:
parent
86ddaa9d0e
commit
dc461d8c87
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
static struct brw_reg alloc_tmp(struct brw_wm_compile *c)
|
static struct brw_reg alloc_tmp(struct brw_wm_compile *c)
|
||||||
{
|
{
|
||||||
c->tmp_index++;
|
c->tmp_index++;
|
||||||
c->reg_index = MAX2(c->reg_index, c->tmp_index);
|
c->reg_index = MAX2(c->reg_index, c->tmp_start + c->tmp_index);
|
||||||
return brw_vec8_grf(c->tmp_start + c->tmp_index, 0);
|
return brw_vec8_grf(c->tmp_start + c->tmp_index, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue