Use base state to swap depth buffers

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>