glDepthRange needs to come from the dll hooks for windows
Make sure initial state structures are properly zeroed out.
Track if depth bounds test is enabled
Make sure when rendering overlay, only enable indexed enums we need.