mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
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 <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31136>
This commit is contained in:
parent
10bcfb63d5
commit
26692deefc
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue