sergio2k18 wrote:
> 
> I have two compute shader and i need that second cs must wait until first cs 
> finished his work. Do i have to use memory barriers between each dispatch 
> compute invocation? How can i invoke glMemoryBarrier in openscenegraph?
> 


You certainly should use memory barrier in this case.

In osggpucull example there is InvokeMemoryBarrier draw callback, that you may 
connect to your osg::DispatchCompute.

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





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

Reply via email to