[osg-users] ProgramBinary and shader composition - does it work?

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Thu Feb 20 06:12:23 PST 2020

Hi Glenn,

On Wed, 19 Feb 2020 at 17:56, OpenSceneGraph Users <
osg-users at lists.openscenegraph.org> wrote:

> I was looking in the glProgramBinary support in osg::Program. I don't
> *think* it is integrated with your "pragmatic" define-based shader
> composition system. Specifically there doesn't seem to be a way to
> associate a ProgramBinary with a particular defineString at the
> PerContextProgram level.
> Am I right? And if so will you consider a submission to make this work?

When writing the #pragma(tic) shader composition functionality I was just
focused on conventional GLSL compiled shaders, I didn't consider
glProgramBinary, so no idea of how it might interact, I don't expect it
would would work though as the main task of shader composition is
compositing the shaders to compile and compiling these at runtime.

Is there a reason why you are trying to the the glProgramBinary path?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200220/3d70e465/attachment.html>

More information about the osg-users mailing list