<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Using a single-plane imageview from a multi-plane image is broken"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105496#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Using a single-plane imageview from a multi-plane image is broken"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105496">bug 105496</a>
              from <span class="vcard"><a class="email" href="mailto:lionel.g.landwerlin@linux.intel.com" title="Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>"> <span class="fn">Lionel Landwerlin</span></a>
</span></b>
        <pre>(In reply to atomnuker from <a href="show_bug.cgi?id=105496#c3">comment #3</a>)
<span class="quote">> (In reply to Lionel Landwerlin from <a href="show_bug.cgi?id=105496#c1">comment #1</a>)
> > I think the mistake here is that you're using a single image with 2
> > different view. This requires a compatible format between the 2 views. R8 &
> > G8_B8_R8_3PLANE_420 are not compatible.

> Yes they are. Read this. It's right at the top.
> <a href="https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec">https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec</a>.
> html#features-formats-compatible-planes

> </span >

As far as I can tell, compatible formats apply to images, not image views.

Here is the bit of image creation that refers to compatible formats for planes
:

"
VK_IMAGE_CREATE_ALIAS_BIT indicates that two images created with the same
creation parameters and aliased to the same memory can interpret the contents
of the memory consistently with each other, subject to the rules described in
the Memory Aliasing section. This flag further indicates that each plane of a
disjoint image can share an in-memory non-linear representation with
single-plane images, and that a single-plane image can share an in-memory
non-linear representation with a plane of a multi-planar disjoint image,
according to the rules in Compatible formats of planes of multi-planar formats.
If the pNext chain includes a VkExternalMemoryImageCreateInfo structure whose
handleTypes member is not 0, it is as if VK_IMAGE_CREATE_ALIAS_BIT is set.
"</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>