Module: Mesa
Branch: main
Commit: 12f07157876151e18faa8cde1700e4f4544f5eec
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=12f07157876151e18faa8cde1700e4f4544f5eec

Author: Jianxun Zhang <jianxun.zh...@intel.com>
Date:   Tue Oct 31 15:32:17 2023 -0700

intel/vulkan: Correct a comment about an offset in fast clear

Signed-off-by: Jianxun Zhang <jianxun.zh...@intel.com>
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
Acked-by: Rohan Garg <rohan.g...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25651>

---

 src/intel/vulkan/anv_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index feedb9f4851..40d35066f97 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -5107,7 +5107,7 @@ anv_image_get_compression_state_addr(const struct 
anv_device *device,
    UNUSED uint32_t plane = anv_image_aspect_to_plane(image, aspect);
    assert(isl_aux_usage_has_ccs_e(image->planes[plane].aux_usage));
 
-   /* Relative to start of the plane's fast clear memory range */
+   /* Relative to start of the plane's fast clear type */
    uint32_t offset;
 
    offset = 4; /* Go past the fast clear type */

Reply via email to