From 3a5950f50174390e817c619f972b8b8ea21c6705 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 5 Aug 2019 01:38:42 +0200 Subject: radv: Add device argument for dcc compression check. Because it is about to be generation dependent. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/amd/vulkan/radv_private.h') diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 1d87c17032c..8f3615f2f1c 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1685,7 +1685,8 @@ bool radv_layout_can_fast_clear(const struct radv_image *image, bool in_render_loop, unsigned queue_mask); -bool radv_layout_dcc_compressed(const struct radv_image *image, +bool radv_layout_dcc_compressed(const struct radv_device *device, + const struct radv_image *image, VkImageLayout layout, bool in_render_loop, unsigned queue_mask); -- cgit v1.2.3