Module: Mesa
Branch: master
Commit: 878519b73e5ff80df98591f70e6d53d05ed46f2f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=878519b73e5ff80df98591f70e6d53d05ed46f2f

Author: Henri Verbeet <[email protected]>
Date:   Fri Dec 24 11:36:50 2010 +0100

r600g: Get rid of r600_blit_uncompress_depth_ptr.

---

 src/gallium/drivers/r600/r600_pipe.c     |    2 --
 src/gallium/drivers/r600/r600_resource.h |    1 -
 src/gallium/drivers/r600/r600_texture.c  |    4 +---
 3 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c 
b/src/gallium/drivers/r600/r600_pipe.c
index 72988b9..8f6836a 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -198,8 +198,6 @@ static struct pipe_context *r600_create_context(struct 
pipe_screen *screen, void
        else
                rctx->custom_dsa_flush = evergreen_create_db_flush_dsa(rctx);
 
-       r600_blit_uncompress_depth_ptr = r600_blit_uncompress_depth;
-
        return &rctx->context;
 }
 
diff --git a/src/gallium/drivers/r600/r600_resource.h 
b/src/gallium/drivers/r600/r600_resource.h
index 8ca2769..9b1af5e 100644
--- a/src/gallium/drivers/r600/r600_resource.h
+++ b/src/gallium/drivers/r600/r600_resource.h
@@ -106,7 +106,6 @@ static INLINE boolean r600_buffer_is_user_buffer(struct 
pipe_resource *buffer)
 }
 
 int r600_texture_depth_flush(struct pipe_context *ctx, struct pipe_resource 
*texture);
-int (*r600_blit_uncompress_depth_ptr)(struct pipe_context *ctx, struct 
r600_resource_texture *texture);
 
 /* r600_texture.c texture transfer functions. */
 struct pipe_transfer* r600_texture_get_transfer(struct pipe_context *ctx,
diff --git a/src/gallium/drivers/r600/r600_texture.c 
b/src/gallium/drivers/r600/r600_texture.c
index d4d9b07..e274562 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -443,8 +443,6 @@ static unsigned int r600_texture_is_referenced(struct 
pipe_context *context,
        return PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE;
 }
 
-int (*r600_blit_uncompress_depth_ptr)(struct pipe_context *ctx, struct 
r600_resource_texture *texture);
-
 int r600_texture_depth_flush(struct pipe_context *ctx,
                             struct pipe_resource *texture)
 {
@@ -476,7 +474,7 @@ int r600_texture_depth_flush(struct pipe_context *ctx,
 out:
        /* XXX: only do this if the depth texture has actually changed:
         */
-       r600_blit_uncompress_depth_ptr(ctx, rtex);
+       r600_blit_uncompress_depth(ctx, rtex);
        return 0;
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to