Added wrapper for sampleMaxLocScaleDepth