This is fine, except for the 8 space indentation. I wonder though if perhaps it would be more interesting to start with a quad with a depth gradient from 0.0 to 1.0, bottom to top, then set the min/max depth bounds, and draw another fullscreen quad. That way you could easily verify the cutoffs are in roughly the right spots.