Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp823 VkImage depth_image = VK_NULL_HANDLE; in TEST_F() local
824 err = vkCreateImage(m_device->handle(), &depth_image_create_info, NULL, &depth_image); in TEST_F()
836 vkGetImageMemoryRequirements(m_device->device(), depth_image, &mem_reqs); in TEST_F()
842 err = vkBindImageMemory(m_device->device(), depth_image, mem1, 0); in TEST_F()
845 …vkCmdCopyBufferToImage(m_commandBuffer->handle(), buffer.handle(), depth_image, VK_IMAGE_LAYOUT_GE… in TEST_F()
848 vkDestroyImage(m_device->device(), depth_image, NULL); in TEST_F()
1580 VkImageObj depth_image(m_device); in TEST_F() local
1581depth_image.Init(64, 64, 1, f_depth, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST… in TEST_F()
1583 ASSERT_TRUE(depth_image.initialized()); in TEST_F()
1584depth_image.SetLayout(VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT, VK_IMAGE_LAYOUT_GEN… in TEST_F()
[all …]
Dvklayertests_command.cpp3153 VkImageObj color_image(m_device), ds_image(m_device), depth_image(m_device); in TEST_F() local
3155depth_image.Init(128, 128, 1, VK_FORMAT_D32_SFLOAT, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USA… in TEST_F()
3160 ASSERT_TRUE(depth_image.initialized()); in TEST_F()
3179 …vkCmdCopyImage(m_commandBuffer->handle(), depth_image.handle(), VK_IMAGE_LAYOUT_GENERAL, depth_ima… in TEST_F()
3243 …age(m_commandBuffer->handle(), color_image.handle(), VK_IMAGE_LAYOUT_GENERAL, depth_image.handle(), in TEST_F()
3253 …age(m_commandBuffer->handle(), color_image.handle(), VK_IMAGE_LAYOUT_GENERAL, depth_image.handle(), in TEST_F()