Hi Michael, I have merged your changes and also applied similar change to the osg::State::apply() method to keep things consistent. In my testing here things look to be all working fine with this change, so touch wood it looks like we have a solid solution.
Could you try out svn/trunk version of the OSG and let me know if everything is working fine for your compute shader work. Cheers, Robert. On 11 April 2013 10:43, Michael Bach Jensen <[email protected]> wrote: > Hi Robert, > > As discussed (http://forum.openscenegraph.org/viewtopic.php?t=12027) here is > my submission :-) > > The following change to State.cpp fixes the case where textures in a stateset > along with a compute shader program did not make those textures available to > the shader, since it got evaluated before the texture bind(s). > > Cheers, > Michael > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=53535#53535 > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
