diff options
author | Samuel Pitoiset <[email protected]> | 2018-04-06 16:17:26 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-04-09 11:21:26 +0200 |
commit | b0f8ad189c9b2f147d87477548b1f5547fdd6630 (patch) | |
tree | 9354b5fc0d5eaba0f7bb8c39f4b38133950d578b /src/amd/vulkan/radv_meta_copy.c | |
parent | 95d5ad80e9d9670a7dd8c6fd7891b97fd006b44d (diff) |
radv: add radv_image_is_tc_compat_htile() helper
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_copy.c')
-rw-r--r-- | src/amd/vulkan/radv_meta_copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |