965: count grf allocation correctly for wm prog, first aub triangle
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
static struct brw_reg alloc_tmp(struct brw_wm_compile *c)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user