Try to fix build

This commit is contained in:
kd-11 2023-06-22 21:33:47 +03:00
parent e20f1587cd
commit 0a0ef50caf

View File

@ -59,7 +59,7 @@ namespace vk
std::vector<VkMemoryBarrier> result; std::vector<VkMemoryBarrier> result;
for (u32 i = 0; i < dependency.memoryBarrierCount; ++i) for (u32 i = 0; i < dependency.memoryBarrierCount; ++i)
{ {
result.emplace_back result.push_back
({ ({
VK_STRUCTURE_TYPE_MEMORY_BARRIER, VK_STRUCTURE_TYPE_MEMORY_BARRIER,
nullptr, nullptr,
@ -75,7 +75,7 @@ namespace vk
std::vector<VkImageMemoryBarrier> result; std::vector<VkImageMemoryBarrier> result;
for (u32 i = 0; i < dependency.imageMemoryBarrierCount; ++i) for (u32 i = 0; i < dependency.imageMemoryBarrierCount; ++i)
{ {
result.emplace_back result.push_back
({ ({
VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
nullptr, nullptr,
@ -97,7 +97,7 @@ namespace vk
std::vector<VkBufferMemoryBarrier> result; std::vector<VkBufferMemoryBarrier> result;
for (u32 i = 0; i < dependency.bufferMemoryBarrierCount; ++i) for (u32 i = 0; i < dependency.bufferMemoryBarrierCount; ++i)
{ {
result.emplace_back result.push_back
({ ({
VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER, VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER,
nullptr, nullptr,