i965: Fix VS constants regression pre-gen6.
Last minute change for gen6 with 0 used params dropped the multiply.
This commit is contained in:
parent
cdd4f04f80
commit
8fab1c0e2e
|
@ -254,7 +254,7 @@ static void brw_vs_alloc_regs( struct brw_vs_compile *c )
|
|||
}
|
||||
reg += (constant + 1) / 2;
|
||||
c->prog_data.curb_read_length = reg - 1;
|
||||
c->prog_data.nr_params = constant;
|
||||
c->prog_data.nr_params = constant * 4;
|
||||
/* XXX 0 causes a bug elsewhere... */
|
||||
if (intel->gen < 6 && c->prog_data.nr_params == 0)
|
||||
c->prog_data.nr_params = 4;
|
||||
|
|
Loading…
Reference in New Issue