Hi all
I ran into some strange behavior debuging an app: It appears that compute 
shader are executed at each pcp.useprogram() call...
I don't think it's a correct behavior since uniforms requires the po to be 
bound before to be set... 
It yield an undefined behavior in GLObjectVisitor when compute prog are 
executed whithout their uniforms setted  (and the same problem should also 
appears in State::apply)

I'm gonna pr a patch in order remove dispatchprogram from useprogram and add a 
if(computeshader)dispatch at the end of state::apply but would like Robert 
insight about it

Thank you!

Cheers,
Julien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72404#72404





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to