[Bug 105496] Using a single-plane imageview from a multi-plane image is broken

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 16 09:37:54 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105496

--- Comment #1 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180316/46852899/attachment.html>


More information about the intel-3d-bugs mailing list