summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-29 19:41:48 +0200
committerMarek Olšák <[email protected]>2017-03-30 16:09:39 +0200
commit3b1934d9b6eee8c5533532c128843d0a7d2ca1a3 (patch)
treeca28e98fa0a7bb498dea86e467ddd138800ffa64 /src/gallium/drivers/radeonsi
parent45a71d5de588926dc682f9d0167b08b8d061d8da (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')
-rw-r--r--src/gallium/drivers/radeonsi/si_blit.c10
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c2
2 files changed, 6 insertions, 6 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);
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index 14138fbd982..866c2063994 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -3408,7 +3408,7 @@ si_create_sampler_view_custom(struct pipe_context *ctx,
}
}
- vi_dcc_disable_if_incompatible_format(&sctx->b, texture,
+ vi_disable_dcc_if_incompatible_format(&sctx->b, texture,
state->u.tex.first_level,
state->format);