st/mesa: only minify depth for 3d targets