Mesa (main): anv: Drop assert against modifier with aux on gfx12

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 26 23:55:08 UTC 2022


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

Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Mon Jan 24 18:54:17 2022 -0500

anv: Drop assert against modifier with aux on gfx12

Commit b664349973b ("anv: Enable implicit CCS for external images")
introduced support for implicit CCS with I915_FORMAT_MOD_Y_TILED.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14723>

---

 src/intel/vulkan/genX_cmd_buffer.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
index 674df3db572..39a96899fd5 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -1309,9 +1309,6 @@ transition_color_buffer(struct anv_cmd_buffer *cmd_buffer,
    }
 
 #if GFX_VER == 12
-   /* We do not yet support modifiers with aux on gen12. */
-   assert(image->vk.tiling != VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT);
-
    if (initial_layout_undefined) {
       if (device->physical->has_implicit_ccs && devinfo->has_aux_map) {
          anv_image_init_aux_tt(cmd_buffer, image, aspect,



More information about the mesa-commit mailing list