Home
last modified time | relevance | path

Searched refs:buf_barrier (Results 1 – 1 of 1) sorted by relevance

/external/vulkan-validation-layers/demos/smoke/
DSmoke.cpp785 VkBufferMemoryBarrier buf_barrier = {}; in on_frame() local
786 buf_barrier.sType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER; in on_frame()
787 buf_barrier.srcAccessMask = VK_ACCESS_HOST_WRITE_BIT; in on_frame()
788 buf_barrier.dstAccessMask = VK_ACCESS_SHADER_READ_BIT; in on_frame()
789 buf_barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in on_frame()
790 buf_barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in on_frame()
791 buf_barrier.buffer = data.buf; in on_frame()
792 buf_barrier.offset = 0; in on_frame()
793 buf_barrier.size = VK_WHOLE_SIZE; in on_frame()
796 0, 0, nullptr, 1, &buf_barrier, 0, nullptr); in on_frame()