you can compute
frustumRange.x * (1.0/frustum.near)
and
frustumRange.y * (1.0/frustum.near)
in the application as:
frustum.right * (1.0/frustum.near),
frustum.top * (1.0/frustum.near)
and pass it through as a new uniform to save time!