[Vulkan] Do not set any blend attachments with depth blits

This commit is contained in:
DrChat
2017-12-21 15:43:12 -06:00
parent 554d333299
commit 8d7b8c2f82
2 changed files with 36 additions and 21 deletions

View File

@@ -63,10 +63,11 @@ class Blitter {
int swap; // 0x1C
};
VkPipeline GetPipeline(VkRenderPass render_pass, VkShaderModule frag_shader);
VkPipeline GetPipeline(VkRenderPass render_pass, VkShaderModule frag_shader,
bool color_or_depth);
VkRenderPass CreateRenderPass(VkFormat output_format, bool color_or_depth);
VkPipeline CreatePipeline(VkRenderPass render_pass,
VkShaderModule frag_shader);
VkShaderModule frag_shader, bool color_or_depth);
std::unique_ptr<DescriptorPool> descriptor_pool_ = nullptr;
VulkanDevice* device_ = nullptr;