Add outputmask to text atlas memory barrier

This commit is contained in:
baldurk
2015-10-23 11:07:46 +02:00
parent cc7647b990
commit b2b8822dfa
+4 -1
View File
@@ -805,7 +805,10 @@ VulkanDebugManager::VulkanDebugManager(WrappedVulkan *driver, VkDevice dev)
VK_IMAGE_LAYOUT_PREINITIALIZED, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,
VK_QUEUE_FAMILY_IGNORED, VK_QUEUE_FAMILY_IGNORED,
Unwrap(m_TextAtlas),
{ VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1 } };
{ VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1 }
};
trans.outputMask = VK_MEMORY_OUTPUT_HOST_WRITE_BIT | VK_MEMORY_OUTPUT_TRANSFER_BIT;
void *barrier = (void *)&trans;