Use the new api to find the globals needed by a shader group.