From 207dd2e9e6c4dc79df0d59b42949d8e3edf27177 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 17 May 2017 19:02:42 -0700 Subject: anv: Handle color layout transitions from the UNINITIALIZED layout This causes dEQP-VK.api.copy_and_blit.resolve_image.partial.* to start failing due to test bugs. See CL 1031 for a test fix. Reviewed-by: Nanley Chery Cc: "17.1" (cherry picked from commit 75edecf5020a9b833ff7e2929f64ceb11c9df679) Signed-off-by: Juan A. Suarez Romero --- src/intel/vulkan/anv_private.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/intel/vulkan/anv_private.h') diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 7d079000b0c..306670f012f 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1994,6 +1994,12 @@ anv_gen8_hiz_op_resolve(struct anv_cmd_buffer *cmd_buffer, const struct anv_image *image, enum blorp_hiz_op op); +void +anv_image_ccs_clear(struct anv_cmd_buffer *cmd_buffer, + const struct anv_image *image, + const struct isl_view *view, + const VkImageSubresourceRange *subresourceRange); + enum isl_aux_usage anv_layout_to_aux_usage(const struct gen_device_info * const devinfo, const struct anv_image *image, -- cgit v1.2.3