Merge pull request #466 from jherico/upstream

Fix bloom effect in hdr example
This commit is contained in:
Sascha Willems 2018-04-18 19:09:47 +02:00 committed by GitHub
commit 452b78ef42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -843,12 +843,12 @@ public:
VK_CHECK_RESULT(vkCreateGraphicsPipelines(device, pipelineCache, 1, &pipelineCreateInfo, nullptr, &pipelines.bloom[0]));
// Second blur pass (into separate framebuffer)
rasterizationState.cullMode = VK_CULL_MODE_BACK_BIT;
pipelineCreateInfo.renderPass = filterPass.renderPass;
dir = 0;
VK_CHECK_RESULT(vkCreateGraphicsPipelines(device, pipelineCache, 1, &pipelineCreateInfo, nullptr, &pipelines.bloom[1]));
// Object rendering pipelines
rasterizationState.cullMode = VK_CULL_MODE_BACK_BIT;
// Vertex bindings an attributes for model rendering
// Binding description