swrast: don't try to do depth testing if there's no depth buffer