diff options
| author | Chris Forbes <chrisforbes@google.com> | 2016-05-13 13:01:02 +1200 |
|---|---|---|
| committer | Chris Forbes <chrisforbes@google.com> | 2016-05-16 09:54:39 +1200 |
| commit | 70d2d1e8447ffd7e8372d26c3a281678081499c2 (patch) | |
| tree | 14cc4ff2cacb5cb001004a38793f9ba77c8c476c /layers/core_validation.cpp | |
| parent | e35f626e59505d2c7421459f3bac311e512bc579 (diff) | |
| download | usermoji-70d2d1e8447ffd7e8372d26c3a281678081499c2.tar.xz | |
layers: Add RENDER_PASS_NODE* to PIPELINE_NODE*
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 03205afb..285ce9e3 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5690,6 +5690,12 @@ CreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t for (i = 0; i < count; i++) { pPipeNode[i] = new PIPELINE_NODE; pPipeNode[i]->initGraphicsPipeline(&pCreateInfos[i]); + + auto renderpass_it = dev_data->renderPassMap.find(pCreateInfos[i].renderPass); + if (renderpass_it != dev_data->renderPassMap.end()) { + pPipeNode[i]->renderPass = renderpass_it->second; + } + skipCall |= verifyPipelineCreateState(dev_data, device, pPipeNode, i); } |
