From b0f8ad189c9b2f147d87477548b1f5547fdd6630 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 6 Apr 2018 16:17:26 +0200 Subject: radv: add radv_image_is_tc_compat_htile() helper Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_meta_copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/vulkan/radv_meta_copy.c') diff --git a/src/amd/vulkan/radv_meta_copy.c b/src/amd/vulkan/radv_meta_copy.c index c8140b24dae..2055289a9bb 100644 --- a/src/amd/vulkan/radv_meta_copy.c +++ b/src/amd/vulkan/radv_meta_copy.c @@ -90,7 +90,7 @@ blit_surf_for_image_level_layer(struct radv_image *image, format = vk_format_stencil_only(format); if (!radv_image_has_dcc(image) && - !(radv_image_has_htile(image) && image->tc_compatible_htile)) + !(radv_image_is_tc_compat_htile(image))) format = vk_format_for_size(vk_format_get_blocksize(format)); return (struct radv_meta_blit2d_surf) { -- cgit v1.2.3