Added depth buffer discard on iOS