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

Author: Jianxun Zhang <[email protected]>
Date:   Mon Nov 20 06:02:11 2023 -0800

intel/vulkan: Update comment of a workaround of modifiers

Signed-off-by: Jianxun Zhang <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Acked-by: Rohan Garg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25651>

---

 src/intel/vulkan/anv_image.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index 5853895ee9f..d8415e3f7ee 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -2474,6 +2474,8 @@ anv_get_image_subresource_layout(const struct anv_image 
*image,
     * so it _should_ correctly use VK_IMAGE_ASPECT_MEMORY_PLANE_* in that case.
     * But it incorrectly uses VK_IMAGE_ASPECT_PLANE_*, so we have a temporary
     * workaround.
+    *
+    * https://gitlab.freedesktop.org/mesa/mesa/-/issues/10176
     */
    if (image->vk.tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) {
       /* TODO(chadv): Drop this workaround when WSI gets fixed. */

Reply via email to