r600g: fix depth hw resource copies.
[mesa.git] / src / gallium / drivers / r600 / r600_texture.c
index 1d0e482253e44e6756f68e688b5e2dc150111a1c..c773c4b84a6d6967b7c9198c61b1857050041ab6 100644 (file)
@@ -291,15 +291,6 @@ static boolean permit_hardware_blit(struct pipe_screen *screen,
        else
                bind = PIPE_BIND_RENDER_TARGET;
 
-       /* See r600_resource_copy_region: there is something wrong
-        * with depth resource copies at the moment so avoid them for
-        * now.
-        */
-       if (util_format_get_component_bits(res->format,
-                               UTIL_FORMAT_COLORSPACE_ZS,
-                               0) != 0)
-               return FALSE;
-
        if (!screen->is_format_supported(screen,
                                res->format,
                                res->target,