Merge branch '54-renderpass-subpassdep-destsubpass-out-of-range' into 'master'
authorPyry Haulos <phaulos@google.com>
Tue, 8 Dec 2015 17:34:35 +0000 (12:34 -0500)
committerPyry Haulos <phaulos@google.com>
Tue, 8 Dec 2015 17:34:35 +0000 (12:34 -0500)
commitbf66af1828544ff36671b4e094174a152b03cf80
tree1adc4da137bcb0b63ff9501ca0412c9d3d6e116f
parent620932fa98982524d8aebbecc288b969b8e90de7
parent433aad756646dacd9b9bdd863fda3578977e254e
Merge branch '54-renderpass-subpassdep-destsubpass-out-of-range' into 'master'

54 dEQP-VK.renderpass.attachment_allocation: VkSubpassDependency.dstSubpass is out of range

This fixes issue #54

The loop is executed for each of subpasses, adding a dependency from subpassNdx to subpass + 1.  For the last iteration subpass + 1 would point to not existing subpass.
The fix here is to remove last iteration. Hence for N subpasses N-1 dependiences would be made.

See merge request !114
external/vulkancts/modules/vulkan/vktRenderPassTests.cpp