Summary: | glUniform4fv does not work | ||
---|---|---|---|
Product: | Mesa | Reporter: | xinghua <xinghua.cao> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED DUPLICATE | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | yang.gu, yunchao.he |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | attachment-8101-0.html |
Description
xinghua
2018-06-11 10:57:47 UTC
This test passes on Firefox, could this be a chrome bug? If you can reproduce this using GL/GLES directly, we could look into it. But this sounds more like a browser issue. 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@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@intel.com> Reviewed-by: Plamena Manolova <plamena.manolova@intel.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> (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@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@intel.com> > Reviewed-by: Plamena Manolova <plamena.manolova@intel.com> > Reviewed-by: Timothy Arceri <tarceri@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. (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@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@intel.com> > > Reviewed-by: Plamena Manolova <plamena.manolova@intel.com> > > Reviewed-by: Timothy Arceri <tarceri@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. by commit e266b320590ebbeadf7c98b0b493d89886534ccb (was duplicate) *** This bug has been marked as a duplicate of bug 106810 *** Created attachment 142167 [details]
attachment-8101-0.html
Yang is OOO from Oct 15 to 26 for vacation and TPAC 2018. Please expect slow response.
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.