Home | History | Annotate | Download | only in tests

Lines Matching full:memory_barrier

985     VkBufferMemoryBarrier memory_barrier = buffer_memory_barrier(
987 VkBufferMemoryBarrier *pmemory_barrier = &memory_barrier;
1379 VkImageMemoryBarrier memory_barrier = {};
1380 memory_barrier.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER;
1381 memory_barrier.srcAccessMask = output_mask;
1382 memory_barrier.dstAccessMask = input_mask;
1383 memory_barrier.newLayout = VK_IMAGE_LAYOUT_GENERAL;
1384 memory_barrier.subresourceRange = srRange;
1385 VkImageMemoryBarrier *pmemory_barrier = &memory_barrier;
1391 memory_barrier.image = m_renderTargets[i]->image();
1392 memory_barrier.oldLayout = m_renderTargets[i]->layout();
1395 m_renderTargets[i]->layout(memory_barrier.newLayout);
1412 memory_barrier.oldLayout = memory_barrier.newLayout;
1413 memory_barrier.newLayout = VK_IMAGE_LAYOUT_GENERAL;
1414 memory_barrier.image = depthStencilObj->handle();
1415 memory_barrier.subresourceRange = dsRange;
1427 memory_barrier.image = depthStencilObj->handle();
1428 memory_barrier.newLayout = memory_barrier.oldLayout;
1429 memory_barrier.oldLayout = VK_IMAGE_LAYOUT_GENERAL;
1430 memory_barrier.subresourceRange = dsRange;
1488 VkImageMemoryBarrier memory_barrier = {};
1489 memory_barrier.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER;
1490 memory_barrier.srcAccessMask = output_mask;
1491 memory_barrier.dstAccessMask = input_mask;
1492 memory_barrier.newLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL;
1493 memory_barrier.subresourceRange = srRange;
1494 VkImageMemoryBarrier *pmemory_barrier = &memory_barrier;
1500 memory_barrier.image = m_renderTargets[i]->image();
1501 memory_barrier.oldLayout = m_renderTargets[i]->layout();
1504 m_renderTargets[i]->layout(memory_barrier.newLayout);