From de80660c2bd43db112b6c82d970660ed9806cd33 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 13 Sep 2012 19:38:25 +0200 Subject: gallium: remove resource_resolve MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The functionality is provided by the new blit function. Tested-by: Michel Dänzer Reviewed-by: Brian Paul --- src/gallium/drivers/nvc0/nvc0_surface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/nvc0') diff --git a/src/gallium/drivers/nvc0/nvc0_surface.c b/src/gallium/drivers/nvc0/nvc0_surface.c index d52de0b6186..d95124dec10 100644 --- a/src/gallium/drivers/nvc0/nvc0_surface.c +++ b/src/gallium/drivers/nvc0/nvc0_surface.c @@ -945,6 +945,7 @@ nvc0_blitctx_post_blit(struct nvc0_context *nvc0, struct nvc0_blitctx *blit) NVC0_NEW_TFB_TARGETS); } +#if 0 static void nvc0_resource_resolve(struct pipe_context *pipe, const struct pipe_resolve_info *info) @@ -1047,6 +1048,7 @@ nvc0_resource_resolve(struct pipe_context *pipe, nvc0_blitctx_post_blit(nvc0, blit); } +#endif boolean nvc0_blitctx_create(struct nvc0_screen *screen) @@ -1076,7 +1078,6 @@ nvc0_init_surface_functions(struct nvc0_context *nvc0) struct pipe_context *pipe = &nvc0->base.pipe; pipe->resource_copy_region = nvc0_resource_copy_region; - pipe->resource_resolve = nvc0_resource_resolve; pipe->clear_render_target = nvc0_clear_render_target; pipe->clear_depth_stencil = nvc0_clear_depth_stencil; } -- cgit v1.2.3