From 26692deefc84a8057f4646c63340690e891a69dc Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Wed, 4 Sep 2024 14:43:44 -0400 Subject: [PATCH] anv: Delete stale comment for BLORP clear color addr It looks like this comment attempted to describe all the reasons we need to pass the clear color address to BLORP. This comment actually isn't exhaustive and some bits are out of date (e.g., BLORP no longer updates the clear color address for us). Let's just delete it. Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_blorp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index fb67eb0b085..776c8bcca87 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -316,12 +316,6 @@ get_blorp_surf_for_anv_image(const struct anv_cmd_buffer *cmd_buffer, }; } - /* If we're doing a partial resolve, then we need the indirect clear - * color. If we are doing a fast clear and want to store/update the - * clear color, we also pass the address to blorp, otherwise it will only - * stomp the CCS to a particular value and won't care about format or - * clear value - */ if (aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) { const struct anv_address clear_color_addr = anv_image_get_clear_color_addr(device, image, aspect);