add support for constant frequency and occlusion query