[Mesa-dev] [Bug 106881] glUniform4fv does not work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 12 06:36:45 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106881

--- Comment #5 from Tapani Pälli <lemody at gmail.com> ---
(In reply to xinghua from comment #4)
> (In reply to Tapani Pälli from comment #3)
> > IMO this looks like a shader cache issue that got fixed by following commit.
> > Please pull the latest Mesa and test again.
> > 
> > --- 8< ---
> > commit e266b320590ebbeadf7c98b0b493d89886534ccb
> > Author: Jordan Justen <jordan.l.justen at intel.com>
> > Date:   Wed Jun 6 01:57:15 2018 -0700
> > 
> >     mesa/program_binary: add implicit UseProgram after successful
> > ProgramBinary
> >     
> >     Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106810
> >     Fixes: b4c37ce2140 "i965: Add ARB_get_program_binary support using
> > nir_serialization"
> >     Ref: 3fe8d04a6d6 "mesa: don't always set _NEW_PROGRAM when linking"
> >     Ref: c505d6d8522 "mesa: use gl_program for CurrentProgram rather than
> > gl_shader_program"
> >     Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> >     Reviewed-by: Plamena Manolova <plamena.manolova at intel.com>
> >     Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
> 
> Hi, Tapani, Thank you for your reply. I had tested this case again, the
> patch could resolve this issue.
> Could you give our more information about the root-cause in mesa, thank you.

Chrome browser implements a shader program cache using ARB_get_program_binary,
we had a bug in program binary code. Loading new binary was not binding the
shaders of the binary in to use (so old ones were still used). This is now
fixed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180612/59ed7e55/attachment.html>


More information about the mesa-dev mailing list