diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-09-12 09:50:25 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-09-12 09:50:25 -0600 |
| commit | 1b508335c041e82bf1ec375f383a3e5a93c803cf (patch) | |
| tree | 4ec58298081f6321c2fa6599b92af54c72db0676 /layers/core_validation.cpp | |
| parent | 9efb8af92de180ea85ee8062ddcd4aee00dbd2c0 (diff) | |
| download | usermoji-1b508335c041e82bf1ec375f383a3e5a93c803cf.tar.xz | |
Revert "layers: Fix Graphics Pipeline pointers not ignored"
This caused segfaults on Intel Skylake, NexusPlayer, and
Samsung Galaxy S8 (Mali).
This reverts commit 367d276ffe5c0748ff9d8e2b3551d4a00c9fc3c2.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index b210f8f9..78e72aaf 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -4514,8 +4514,8 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateGraphicsPipelines(VkDevice device, VkPipeli for (i = 0; i < count; i++) { pipe_state.push_back(std::unique_ptr<PIPELINE_STATE>(new PIPELINE_STATE)); - pipe_state[i]->render_pass_ci.initialize(GetRenderPassState(dev_data, pCreateInfos[i].renderPass)->createInfo.ptr()); pipe_state[i]->initGraphicsPipeline(&pCreateInfos[i]); + pipe_state[i]->render_pass_ci.initialize(GetRenderPassState(dev_data, pCreateInfos[i].renderPass)->createInfo.ptr()); pipe_state[i]->pipeline_layout = *getPipelineLayout(dev_data, pCreateInfos[i].layout); } |
