summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanCommandBuffer.cpp8
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