Searched refs:image_barrier (Results 1 – 4 of 4) sorted by relevance
/external/vulkan-validation-layers/tests/ |
D | vkpositivelayertests.cpp | 897 …auto image_barrier = image.image_memory_barrier(0, 0, image.Layout(), image.Layout(), image_subres… in TEST_F() local 898 image_barrier.srcQueueFamilyIndex = m_device->graphics_queue_node_index_; in TEST_F() 899 image_barrier.dstQueueFamilyIndex = no_gfx; in TEST_F() 902 VK_PIPELINE_STAGE_TRANSFER_BIT, nullptr, &image_barrier); in TEST_F() 905 image_barrier.srcQueueFamilyIndex = no_gfx; in TEST_F() 906 image_barrier.dstQueueFamilyIndex = m_device->graphics_queue_node_index_; in TEST_F() 907 image_barrier.oldLayout = image.Layout(); in TEST_F() 909 if (image_barrier.oldLayout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) { in TEST_F() 910 image_barrier.newLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in TEST_F() 912 image_barrier.newLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in TEST_F() [all …]
|
D | vklayertests_buffer_image_memory_sampler.cpp | 4778 VkImageMemoryBarrier image_barrier[1] = {}; in TEST_F() local 4779 image_barrier[0].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in TEST_F() 4780 image_barrier[0].oldLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL; in TEST_F() 4781 image_barrier[0].newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; in TEST_F() 4782 image_barrier[0].image = src_image.handle(); in TEST_F() 4783 image_barrier[0].subresourceRange.layerCount = image_create_info.arrayLayers; in TEST_F() 4784 image_barrier[0].subresourceRange.levelCount = image_create_info.mipLevels; in TEST_F() 4785 image_barrier[0].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 4789 NULL, 0, NULL, 1, image_barrier); in TEST_F()
|
D | vklayertests_command.cpp | 3822 VkImageMemoryBarrier image_barrier = in TEST_F() local 3825 …auto pipeline = [&image_barrier](const VkCommandBufferObj &cb, VkImageLayout old_layout, VkImageLa… in TEST_F() 3826 image_barrier.oldLayout = old_layout; in TEST_F() 3827 image_barrier.newLayout = new_layout; in TEST_F() 3829 nullptr, 1, &image_barrier); in TEST_F()
|
D | vklayertests_descriptor_renderpass_framebuffer.cpp | 4587 …auto image_barrier = image->image_memory_barrier(read_write, read_write, VK_IMAGE_LAYOUT_UNDEFINED… in TEST_F() local 4590 nullptr, 1, &image_barrier); in TEST_F()
|