<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:atomnuker@gmail.com" title="atomnuker@gmail.com">atomnuker@gmail.com</a>
</span> changed
          <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>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>NOTABUG
           </td>
           <td>---
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr></table>
      <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#c3">Comment # 3</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:atomnuker@gmail.com" title="atomnuker@gmail.com">atomnuker@gmail.com</a>
</span></b>
        <pre>(In reply to Lionel Landwerlin from <a href="show_bug.cgi?id=105496#c1">comment #1</a>)
<span class="quote">> 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.</span >

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.html#features-formats-compatible-planes">https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#features-formats-compatible-planes</a>


<span class="quote">> 
> The feature you want to use is VK_IMAGE_CREATE_ALIAS_BIT. You'll need to
> create 2 image & 2 views and have the 2 images share the same memory.</span >

It's a solution, though not the one I want, is recommended by the spec or
something I'd like to waste time just to find out it doesn't work.


<span class="quote">> 
> This is a bit confusing to be fair :) I had to reread the spec, even I
> implemented this...</span >

That would explain why it doesn't work.


<span class="quote">> 
> Consider running your application with the validation layers, it'll help
> spotting potential mistakes like this.</span >

I am running it through validation layers every time and I've reported all of
the issues on multiplane images, including the one where they don't list R8 and
G8_B8_R8 as compatible. It'll get fixed.
Though considering how many assertions have been made in the validation layers
that no one will ever bother with multiplane images I'm getting tired. Though
the fact that they're slowly getting fixed one at a time gives me hope.</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>