<p dir="ltr"><br>
On Sep 30, 2014 8:26 PM, "Matt Turner" <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>> wrote:<br>
><br>
> On Tue, Sep 30, 2014 at 5:49 PM, Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br>
> > Signed-off-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>><br>
> > Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=84529">https://bugs.freedesktop.org/show_bug.cgi?id=84529</a><br>
> > ---<br>
> > src/mesa/drivers/dri/i965/brw_fs_fp.cpp | 2 +-<br>
> > 1 file changed, 1 insertion(+), 1 deletion(-)<br>
> ><br>
> > diff --git a/src/mesa/drivers/dri/i965/brw_fs_fp.cpp b/src/mesa/drivers/dri/i965/brw_fs_fp.cpp<br>
> > index f9eec10..aa9e17b 100644<br>
> > --- a/src/mesa/drivers/dri/i965/brw_fs_fp.cpp<br>
> > +++ b/src/mesa/drivers/dri/i965/brw_fs_fp.cpp<br>
> > @@ -115,7 +115,7 @@ fs_visitor::emit_fragment_program_code()<br>
> > {<br>
> > setup_fp_regs();<br>
> ><br>
> > - fs_reg null = fs_reg(brw_null_reg());<br>
> > + fs_reg null = fs_reg(brw_null_vec(dispatch_width));<br>
> ><br>
> > /* Keep a reg with 1.0 around, for reuse by emit_fp_sop so that it can just<br>
> > * be:<br>
> > --<br>
> > 2.1.0<br>
><br>
> Replace uses of 'null' with reg_null_* that you already moved into<br>
> fs_visitor and remove the null variable instead.</p>
<p dir="ltr">D'oh! I forgot I was still in fs_visitor...</p>