{"action":"created","issue":{"url":"https://api.github.com/repos/SaschaWillems/Vulkan/issues/156","repository_url":"https://api.github.com/repos/SaschaWillems/Vulkan","labels_url":"https://api.github.com/repos/SaschaWillems/Vulkan/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/SaschaWillems/Vulkan/issues/156/comments","events_url":"https://api.github.com/repos/SaschaWillems/Vulkan/issues/156/events","html_url":"https://github.com/SaschaWillems/Vulkan/issues/156","id":155547673,"number":156,"title":"You are not allowed to transition layouts when the image is not acquired.","user":{"login":"ratchetfreak","id":16795580,"avatar_url":"https://avatars.githubusercontent.com/u/16795580?v=3","gravatar_id":"","url":"https://api.github.com/users/ratchetfreak","html_url":"https://github.com/ratchetfreak","followers_url":"https://api.github.com/users/ratchetfreak/followers","following_url":"https://api.github.com/users/ratchetfreak/following{/other_user}","gists_url":"https://api.github.com/users/ratchetfreak/gists{/gist_id}","starred_url":"https://api.github.com/users/ratchetfreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratchetfreak/subscriptions","organizations_url":"https://api.github.com/users/ratchetfreak/orgs","repos_url":"https://api.github.com/users/ratchetfreak/repos","events_url":"https://api.github.com/users/ratchetfreak/events{/privacy}","received_events_url":"https://api.github.com/users/ratchetfreak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-18T16:35:10Z","updated_at":"2016-05-19T05:50:46Z","closed_at":null,"body":"https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#_wsi_swapchain\r\n\r\n> Use of a presentable image must occur only after the image is returned by vkAcquireNextImageKHR, and before it is presented by vkQueuePresentKHR. **This includes transitioning the image layout and rendering commands.**\r\n\r\nhttps://github.com/SaschaWillems/Vulkan/blob/master/base/vulkanswapchain.hpp#L374\r\n\r\nThis will end up doing an image transition on a swapchain image that is not owned by the application. Instead you can always transition from UNDEFINED in the pre-present transition."},"comment":{"url":"https://api.github.com/repos/SaschaWillems/Vulkan/issues/comments/220233552","html_url":"https://github.com/SaschaWillems/Vulkan/issues/156#issuecomment-220233552","issue_url":"https://api.github.com/repos/SaschaWillems/Vulkan/issues/156","id":220233552,"user":{"login":"SaschaWillems","id":10283127,"avatar_url":"https://avatars.githubusercontent.com/u/10283127?v=3","gravatar_id":"","url":"https://api.github.com/users/SaschaWillems","html_url":"https://github.com/SaschaWillems","followers_url":"https://api.github.com/users/SaschaWillems/followers","following_url":"https://api.github.com/users/SaschaWillems/following{/other_user}","gists_url":"https://api.github.com/users/SaschaWillems/gists{/gist_id}","starred_url":"https://api.github.com/users/SaschaWillems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaschaWillems/subscriptions","organizations_url":"https://api.github.com/users/SaschaWillems/orgs","repos_url":"https://api.github.com/users/SaschaWillems/repos","events_url":"https://api.github.com/users/SaschaWillems/events{/privacy}","received_events_url":"https://api.github.com/users/SaschaWillems/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T05:50:46Z","updated_at":"2016-05-19T05:50:46Z","body":"Thx for that link. Will fix this."}}