static bool writeComputeGroups( osgDB::OutputStream& os, const osg::Program& attr ) { GLint numX = 0, numY = 0, numZ = 0; attr.getComputeGroups( numX, numY, numZ ); os << numX << numY << numZ << std::endl; return true; }
// _numGroupsX/Y/Z static bool checkComputeGroups( const osg::Program& attr ) { GLint numX = 0, numY = 0, numZ = 0; attr.getComputeGroups( numX, numY, numZ ); return numX>0 && numY>0 && numZ>0; }