diff options
| author | MikhailGorobets <misha.friman@mail.ru> | 2021-02-06 10:10:06 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-02-06 23:28:03 +0000 |
| commit | 3734f7335badd666a9df8f8a92b1c17eb86df420 (patch) | |
| tree | ff3f826a3f8abe92c1b8dd55ab44846466c1839f /Graphics/GraphicsEngineVulkan | |
| parent | Shader Resource Layout Tests: fixed non-separable programs case (diff) | |
| download | DiligentCore-3734f7335badd666a9df8f8a92b1c17eb86df420.tar.gz DiligentCore-3734f7335badd666a9df8f8a92b1c17eb86df420.zip | |
Fixed return type in function AccessMaskFromImageLayout
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanCommandBuffer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
