mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
vulkan: code styling
This commit is contained in:
@@ -2182,7 +2182,7 @@ VkRenderPass Graphics::createRenderPass(RenderPassConfiguration &configuration)
|
||||
}
|
||||
|
||||
|
||||
VkRenderPass Graphics::getRenderPass(RenderPassConfiguration& configuration)
|
||||
VkRenderPass Graphics::getRenderPass(RenderPassConfiguration &configuration)
|
||||
{
|
||||
VkRenderPass renderPass;
|
||||
auto it = renderPasses.find(configuration);
|
||||
|
||||
@@ -52,7 +52,7 @@ struct ColorAttachment
|
||||
VkAttachmentLoadOp loadOp = VK_ATTACHMENT_LOAD_OP_LOAD;
|
||||
VkSampleCountFlagBits msaaSamples = VK_SAMPLE_COUNT_1_BIT;
|
||||
|
||||
bool operator==(const ColorAttachment&attachment) const
|
||||
bool operator==(const ColorAttachment &attachment) const
|
||||
{
|
||||
return format == attachment.format &&
|
||||
loadOp == attachment.loadOp &&
|
||||
@@ -351,7 +351,7 @@ private:
|
||||
VkFramebuffer getFramebuffer(FramebufferConfiguration &configuration);
|
||||
void createDefaultShaders();
|
||||
VkRenderPass createRenderPass(RenderPassConfiguration &configuration);
|
||||
VkRenderPass getRenderPass(RenderPassConfiguration& configuration);
|
||||
VkRenderPass getRenderPass(RenderPassConfiguration &configuration);
|
||||
VkPipeline createGraphicsPipeline(GraphicsPipelineConfiguration &configuration);
|
||||
void createColorResources();
|
||||
VkFormat findSupportedFormat(const std::vector<VkFormat> &candidates, VkImageTiling tiling, VkFormatFeatureFlags features);
|
||||
|
||||
Reference in New Issue
Block a user