<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Using a single-plane imageview from a multi-plane image is broken"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105496#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - 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>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.
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.
This is a bit confusing to be fair :) I had to reread the spec, even I
implemented this...
Consider running your application with the validation layers, it'll help
spotting potential mistakes like this.</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>