{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/527","repository_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers","labels_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/527/comments","events_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/527/events","html_url":"https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/527","id":154235113,"number":527,"title":"Core Validation: Invalid \"explicit dep needed\" warning is issued at vkCmdBeginRenderPass() call time.","user":{"login":"DominikWitczakAMD","id":17761066,"avatar_url":"https://avatars.githubusercontent.com/u/17761066?v=3","gravatar_id":"","url":"https://api.github.com/users/DominikWitczakAMD","html_url":"https://github.com/DominikWitczakAMD","followers_url":"https://api.github.com/users/DominikWitczakAMD/followers","following_url":"https://api.github.com/users/DominikWitczakAMD/following{/other_user}","gists_url":"https://api.github.com/users/DominikWitczakAMD/gists{/gist_id}","starred_url":"https://api.github.com/users/DominikWitczakAMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominikWitczakAMD/subscriptions","organizations_url":"https://api.github.com/users/DominikWitczakAMD/orgs","repos_url":"https://api.github.com/users/DominikWitczakAMD/repos","events_url":"https://api.github.com/users/DominikWitczakAMD/events{/privacy}","received_events_url":"https://api.github.com/users/DominikWitczakAMD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-11T12:48:02Z","updated_at":"2016-05-11T14:52:16Z","closed_at":null,"body":"Consider the following renderpass configuration:\r\n\r\n* Two attachments are used: color & depth\r\n* Three subpasses are defined (let's name these A, B and C)\r\n* Two dependencies are defined: A->B and B->C\r\n\r\nEach subpass uses both two attachments.\r\n\r\nAt vkCmdBeginRenderPass() call time, I'm seeing the following debug call-back:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/17761066/15181300/c9b72902-1786-11e6-8601-bcc38ccd850d.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/17761066/15181382/35e34bd8-1787-11e6-84b3-f93fbacc94ec.png)\r\n\r\nFor this particular case, we do not agree an explicit dependency is required."},"comment":{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/comments/218483898","html_url":"https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/527#issuecomment-218483898","issue_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/527","id":218483898,"user":{"login":"lentinem","id":9709345,"avatar_url":"https://avatars.githubusercontent.com/u/9709345?v=3","gravatar_id":"","url":"https://api.github.com/users/lentinem","html_url":"https://github.com/lentinem","followers_url":"https://api.github.com/users/lentinem/followers","following_url":"https://api.github.com/users/lentinem/following{/other_user}","gists_url":"https://api.github.com/users/lentinem/gists{/gist_id}","starred_url":"https://api.github.com/users/lentinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lentinem/subscriptions","organizations_url":"https://api.github.com/users/lentinem/orgs","repos_url":"https://api.github.com/users/lentinem/repos","events_url":"https://api.github.com/users/lentinem/events{/privacy}","received_events_url":"https://api.github.com/users/lentinem/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T14:52:16Z","updated_at":"2016-05-11T14:52:16Z","body":"Warnings aren't ever in violation of the spec; if they are, they would be errors. Generally, warnings are introduced when a developer has a bug and we try to figure out how to catch those issues.\r\n\r\nIn this particular case, a developer likely had a dependency that was valid because of it being implicit but did not mean for the dependency to exist (used the wrong attachment in one of the subpasses) and spent a while trying to figure out why they were getting the wrong results.\r\n\r\nI'll bring this up again and see what others think."}}