diff options
author | Marek Olšák <[email protected]> | 2017-03-29 19:41:48 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 16:09:39 +0200 |
commit | 3b1934d9b6eee8c5533532c128843d0a7d2ca1a3 (patch) | |
tree | ca28e98fa0a7bb498dea86e467ddd138800ffa64 /src/gallium/drivers/radeonsi/si_blit.c | |
parent | 45a71d5de588926dc682f9d0167b08b8d061d8da (diff) |
gallium/radeon: s/dcc_disable/disable_dcc/
Reviewed-by: Nicolai Hähnle <[email protected]>
Tested-by: Edmondo Tommasina <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_blit.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_blit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index 864c5be58c7..9b3096d734f 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -946,9 +946,9 @@ void si_resource_copy_region(struct pipe_context *ctx, } } - vi_dcc_disable_if_incompatible_format(&sctx->b, dst, dst_level, + vi_disable_dcc_if_incompatible_format(&sctx->b, dst, dst_level, dst_templ.format); - vi_dcc_disable_if_incompatible_format(&sctx->b, src, src_level, + vi_disable_dcc_if_incompatible_format(&sctx->b, src, src_level, src_templ.format); /* Initialize the surface. */ @@ -1148,10 +1148,10 @@ static void si_blit(struct pipe_context *ctx, /* The driver doesn't decompress resources automatically while * u_blitter is rendering. */ - vi_dcc_disable_if_incompatible_format(&sctx->b, info->src.resource, + vi_disable_dcc_if_incompatible_format(&sctx->b, info->src.resource, info->src.level, info->src.format); - vi_dcc_disable_if_incompatible_format(&sctx->b, info->dst.resource, + vi_disable_dcc_if_incompatible_format(&sctx->b, info->dst.resource, info->dst.level, info->dst.format); si_decompress_subresource(ctx, info->src.resource, info->mask, @@ -1183,7 +1183,7 @@ static boolean si_generate_mipmap(struct pipe_context *ctx, /* The driver doesn't decompress resources automatically while * u_blitter is rendering. */ - vi_dcc_disable_if_incompatible_format(&sctx->b, tex, base_level, + vi_disable_dcc_if_incompatible_format(&sctx->b, tex, base_level, format); si_decompress_subresource(ctx, tex, PIPE_MASK_RGBAZS, base_level, first_layer, last_layer); |