commit | b442e56fa1dec4043cb071a219cb2a5adfe829c4 | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisforbes@google.com> | Mon Apr 11 18:32:23 2016 +1200 |
committer | Tobin Ehlis <tobine@google.com> | Mon Apr 11 09:16:10 2016 -0600 |
tree | 60e5713978b900d3b320638ccc2ebe5418ed0403 | |
parent | e1af1b020a9c314653cee4cd1ed3c3ae63a55c57 [diff] |
layers: renderpass compatibility: there is only one d/s attachment Previously this function assumed there were as many d/s attachments as color attachments, which is invalid. Besides not making sense, we'd end up dereferencing memory beyond that pointed to by VkSubpassDescription::pDepthStencilAttachment if we had multiple color attachments. Signed-off-by: Chris Forbes <chrisforbes@google.com>