summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_blit.c
diff options
context:
space:
mode:
authorAndreas Hartmetz <[email protected]>2014-01-07 02:40:22 +0100
committerMarek Olšák <[email protected]>2014-01-14 00:07:13 +0100
commit45578def716f17e4588c6567a5fb3b6dc9569aec (patch)
treef651438881252cedaf7635b8e5524718e3f8c5e6 /src/gallium/drivers/radeonsi/si_blit.c
parent280c360c0287608227466c6f366606ef5bd62cfa (diff)
radeonsi: Rename r600->si for functions in si_pipe.h.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_blit.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_blit.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c
index d2725a923a9..7883202b9db 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
+++ b/src/gallium/drivers/radeonsi/si_blit.c
@@ -108,12 +108,12 @@ static unsigned u_max_sample(struct pipe_resource *r)
return r->nr_samples ? r->nr_samples - 1 : 0;
}
-static void r600_blit_decompress_depth(struct pipe_context *ctx,
- struct r600_texture *texture,
- struct r600_texture *staging,
- unsigned first_level, unsigned last_level,
- unsigned first_layer, unsigned last_layer,
- unsigned first_sample, unsigned last_sample)
+static void si_blit_decompress_depth(struct pipe_context *ctx,
+ struct r600_texture *texture,
+ struct r600_texture *staging,
+ unsigned first_level, unsigned last_level,
+ unsigned first_layer, unsigned last_layer,
+ unsigned first_sample, unsigned last_sample)
{
struct si_context *rctx = (struct si_context *)ctx;
unsigned layer, level, sample, checked_last_layer, max_layer, max_sample;
@@ -299,8 +299,8 @@ static void r600_blit_decompress_color(struct pipe_context *ctx,
}
}
-void r600_decompress_color_textures(struct si_context *rctx,
- struct si_textures_info *textures)
+void si_decompress_color_textures(struct si_context *rctx,
+ struct si_textures_info *textures)
{
unsigned i;
unsigned mask = textures->compressed_colortex_mask;
@@ -700,5 +700,5 @@ void si_init_blit_functions(struct si_context *rctx)
rctx->b.b.resource_copy_region = r600_resource_copy_region;
rctx->b.b.blit = si_blit;
rctx->b.b.flush_resource = si_flush_resource;
- rctx->b.blit_decompress_depth = r600_blit_decompress_depth;
+ rctx->b.blit_decompress_depth = si_blit_decompress_depth;
}