Index: src/gpu/vk/GrVkMemory.cpp |
diff --git a/src/gpu/vk/GrVkMemory.cpp b/src/gpu/vk/GrVkMemory.cpp |
index 98b2f89e243a0964228fd54f3fba9e0f51b6b0cc..ae954d3934d874122a96986602424d08ad21576c 100644 |
--- a/src/gpu/vk/GrVkMemory.cpp |
+++ b/src/gpu/vk/GrVkMemory.cpp |
@@ -214,7 +214,7 @@ VkPipelineStageFlags GrVkMemory::LayoutToPipelineStageFlags(const VkImageLayout |
VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL == layout || |
VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL == layout || |
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == layout) { |
- return VK_PIPELINE_STAGE_ALL_COMMANDS_BIT; |
+ return VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT; |
} else if (VK_IMAGE_LAYOUT_PREINITIALIZED == layout) { |
return VK_PIPELINE_STAGE_HOST_BIT; |
} |