From 417cfa60b2fec89423be6ce51ab8b1f3063abb2a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 1 Feb 2011 17:20:53 +1000 Subject: r600g: fix depth hw resource copies. With the previous fixes we can now enabled hw depth copies Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_texture.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/gallium/drivers/r600/r600_texture.c') diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 1d0e482253..c773c4b84a 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -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, -- cgit v1.2.3