From 6b494d609822ae24d622f56340c0349d0d393108 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Wed, 18 Apr 2018 09:39:30 -0700 Subject: [PATCH] Fix bloom effect in hdr example --- examples/hdr/hdr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hdr/hdr.cpp b/examples/hdr/hdr.cpp index b1e4ce57..aa768c4d 100644 --- a/examples/hdr/hdr.cpp +++ b/examples/hdr/hdr.cpp @@ -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