Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/tests/
Dvktestbinding.h499 …VkImageSubresourceRange subresource_range(VkImageAspectFlags aspect) const { return subresource_ra… in subresource_range() function
529 …static VkImageSubresourceRange subresource_range(VkImageAspectFlags aspect_mask, uint32_t base_mip…
531 …static VkImageSubresourceRange subresource_range(const VkImageCreateInfo &info, VkImageAspectFlags…
532 static VkImageSubresourceRange subresource_range(const VkImageSubresource &subres);
880 inline VkImageSubresourceRange Image::subresource_range(VkImageAspectFlags aspect_mask, uint32_t ba… in subresource_range() function
894 inline VkImageSubresourceRange Image::subresource_range(const VkImageCreateInfo &info, VkImageAspec… in subresource_range() function
895 return subresource_range(aspect_mask, 0, info.mipLevels, 0, info.arrayLayers); in subresource_range()
898 inline VkImageSubresourceRange Image::subresource_range(const VkImageSubresource &subres) { in subresource_range() function
899 return subresource_range(subres.aspectMask, subres.mipLevel, 1, subres.arrayLayer, 1); in subresource_range()
Dvkpositivelayertests.cpp896 auto image_subres = image.subresource_range(VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1); in TEST_F()
6813 const auto subresource_range = image.subresource_range(VK_IMAGE_ASPECT_COLOR_BIT); in TEST_F() local
6815 VK_IMAGE_LAYOUT_GENERAL, subresource_range); in TEST_F()
6819 …m_commandBuffer->handle(), image.handle(), VK_IMAGE_LAYOUT_GENERAL, &color, 1, &subresource_range); in TEST_F()
6892 const auto subresource_range = image.subresource_range(VK_IMAGE_ASPECT_COLOR_BIT); in TEST_F() local
6894 VK_IMAGE_LAYOUT_GENERAL, subresource_range); in TEST_F()
6898 …m_commandBuffer->handle(), image.handle(), VK_IMAGE_LAYOUT_GENERAL, &color, 1, &subresource_range); in TEST_F()
Dvklayertests_command.cpp3715 …const VkImageSubresourceRange color_range = vk_testing::Image::subresource_range(image_create_info… in TEST_F()
3730 …const VkImageSubresourceRange ds_range = vk_testing::Image::subresource_range(ds_image_create_info… in TEST_F()
3817 VkImageSubresourceRange image_sub_range = VkImageObj::subresource_range(image_sub); in TEST_F()
Dlayer_validation_tests.cpp1928 … image_.Layout(), image_.subresource_range(VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1)); in Init()
Dvkrenderframework.cpp1022subresource_range(aspect, 0, /*VK_REMAINING_MIP_LEVELS*/ 1, 0, 1 /*VK_REMAINING_ARRAY_LAYERS*/); in ImageMemoryBarrier()
Dvklayertests_buffer_image_memory_sampler.cpp3647 …const VkImageSubresourceRange range = VkImageObj::subresource_range(image_create_info, VK_IMAGE_AS… in TEST_F()
3683 …const VkImageSubresourceRange range = VkImageObj::subresource_range(image_create_info, VK_IMAGE_AS… in TEST_F()
Dvklayertests_descriptor_renderpass_framebuffer.cpp4588 image->subresource_range(aspect_mask)); in TEST_F()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp46 VkImageSubresourceRange subresource_range; in RangeFromLayers() local
47 subresource_range.aspectMask = subresource_layers.aspectMask; in RangeFromLayers()
48 subresource_range.baseArrayLayer = subresource_layers.baseArrayLayer; in RangeFromLayers()
49 subresource_range.layerCount = subresource_layers.layerCount; in RangeFromLayers()
50 subresource_range.baseMipLevel = subresource_layers.mipLevel; in RangeFromLayers()
51 subresource_range.levelCount = 1; in RangeFromLayers()
52 return subresource_range; in RangeFromLayers()