From 3734f7335badd666a9df8f8a92b1c17eb86df420 Mon Sep 17 00:00:00 2001 From: MikhailGorobets Date: Sat, 6 Feb 2021 15:10:06 +0500 Subject: Fixed return type in function AccessMaskFromImageLayout --- .../src/VulkanUtilities/VulkanCommandBuffer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Graphics/GraphicsEngineVulkan') diff --git a/Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanCommandBuffer.cpp b/Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanCommandBuffer.cpp index b0d72e70..b646a2ed 100644 --- a/Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanCommandBuffer.cpp +++ b/Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanCommandBuffer.cpp @@ -152,12 +152,12 @@ static VkPipelineStageFlags PipelineStageFromAccessFlags(VkAccessFlags } -static VkPipelineStageFlags AccessMaskFromImageLayout(VkImageLayout Layout, - bool IsDstMask // false - source mask - // true - destination mask +static VkAccessFlags AccessMaskFromImageLayout(VkImageLayout Layout, + bool IsDstMask // false - source mask + // true - destination mask ) { - VkPipelineStageFlags AccessMask = 0; + VkAccessFlags AccessMask = 0; switch (Layout) { // does not support device access. This layout must only be used as the initialLayout member -- cgit v1.2.3