Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp2175 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2176 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2177 image_create_info.pNext = NULL; in TEST_F()
2178 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2179 image_create_info.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
2180 image_create_info.extent.width = 512; in TEST_F()
2181 image_create_info.extent.height = 64; in TEST_F()
2182 image_create_info.extent.depth = 1; in TEST_F()
2183 image_create_info.mipLevels = 1; in TEST_F()
2184 image_create_info.arrayLayers = 1; in TEST_F()
[all …]
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp813 VkImageCreateInfo *image_create_info = &(GetImageState(img_barrier->image)->createInfo); in ValidateBarriersToImages() local
815 if (FormatIsDepthAndStencil(image_create_info->format)) { in ValidateBarriersToImages()
824 … report_data->FormatHandle(img_barrier->image).c_str(), string_VkFormat(image_create_info->format), in ValidateBarriersToImages()
828 …level_count = ResolveRemainingLevels(&img_barrier->subresourceRange, image_create_info->mipLevels); in ValidateBarriersToImages()
829 …ayer_count = ResolveRemainingLayers(&img_barrier->subresourceRange, image_create_info->arrayLayers… in ValidateBarriersToImages()
1068 VkImageCreateInfo *image_create_info = &(GetImageState(mem_barrier->image)->createInfo); in TransitionImageLayouts() local
1069 …level_count = ResolveRemainingLevels(&mem_barrier->subresourceRange, image_create_info->mipLevels); in TransitionImageLayouts()
1070 …ayer_count = ResolveRemainingLayers(&mem_barrier->subresourceRange, image_create_info->arrayLayers… in TransitionImageLayouts()
1075 if ((0 != (image_create_info->flags & VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR)) && in TransitionImageLayouts()
1077 … layer_count = image_create_info->extent.depth; // Treat each depth slice as a layer subresource in TransitionImageLayouts()
[all …]