diff options
| author | Tobin Ehlis <tobine@google.com> | 2017-05-11 08:52:51 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-05-17 09:30:13 -0600 |
| commit | 98183b83386f7b6aeab80c312d4989793001d747 (patch) | |
| tree | d8ce9b07947c781251e0c9cff47ed9d64a4e0a2f /layers/vk_format_utils.cpp | |
| parent | 648cbff2438ccd2906237c017a059917e9e10fa2 (diff) | |
| download | usermoji-98183b83386f7b6aeab80c312d4989793001d747.tar.xz | |
layers: Validate shared presentable image cases
Add validation support for shared presentable images as defined in
VK_KHR_shared_presentable_image extension.
For all uses of shared presentable images, make sure that the image is
appropriately in VK_IMAGE_LAYOUT_PRESENT_SRC_KHR layout.
For two cases where no layout validation was performed, added a TODO
note (vkCmdBlitImage, vkCmdResolveImage) as basic layout validation
should first be added upstream.
Also locked the layout in the case where a front-buffered image is
presented and then flag an error if an attempt is made to transition
the image layout after that point.
Change-Id: I06cda727e3a7f56ccff4bffd7503b5ff73e8a795
Diffstat (limited to 'layers/vk_format_utils.cpp')
0 files changed, 0 insertions, 0 deletions
