{"action":"opened","issue":{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/847","repository_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs","labels_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/847/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/847/comments","events_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/847/events","html_url":"https://github.com/KhronosGroup/Vulkan-Docs/issues/847","id":377345542,"node_id":"MDU6SXNzdWUzNzczNDU1NDI=","number":847,"title":"Usage of vkCmdWaitEvents inside render pass scope","user":{"login":"yNeo","id":29685299,"node_id":"MDQ6VXNlcjI5Njg1Mjk5","avatar_url":"https://avatars1.githubusercontent.com/u/29685299?v=4","gravatar_id":"","url":"https://api.github.com/users/yNeo","html_url":"https://github.com/yNeo","followers_url":"https://api.github.com/users/yNeo/followers","following_url":"https://api.github.com/users/yNeo/following{/other_user}","gists_url":"https://api.github.com/users/yNeo/gists{/gist_id}","starred_url":"https://api.github.com/users/yNeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yNeo/subscriptions","organizations_url":"https://api.github.com/users/yNeo/orgs","repos_url":"https://api.github.com/users/yNeo/repos","events_url":"https://api.github.com/users/yNeo/events{/privacy}","received_events_url":"https://api.github.com/users/yNeo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-05T10:52:27Z","updated_at":"2018-11-05T10:52:27Z","closed_at":null,"author_association":"NONE","body":"I was wondering what is the proper usage of ```vkCmdWaitEvents``` inside a render pass scope. I came across this example from Khronos - https://www.khronos.org/assets/uploads/developers/library/2016-vulkan-devday-uk/7-Keeping-your-GPU-fed.pdf, which states that you can declare an external subpass dependency and then wait for external events in that subpass.\r\n\r\nMy current understanding is that external subpass dependencies act as an explicit pipeline barrier between previous commands and the destination subpass, not as a declaration for future barriers or event waits.\r\n\r\nI have looked through the events chapter and the render passes chapter and found no information about the correct usage of ```vkCmdWaitEvents``` inside a render pass scope. The spec does say that it can be used inside a render pass scope but doesn't specify exactly how that works."}}
{"actor":{"display_login":"yNeo"}}