Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp285 VkImageCreateInfo image_create_info = {}; in TEST_F() local
286 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
287 image_create_info.pNext = NULL; in TEST_F()
288 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
289 image_create_info.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
290 image_create_info.extent.width = 512; in TEST_F()
291 image_create_info.extent.height = 64; in TEST_F()
292 image_create_info.extent.depth = 1; in TEST_F()
293 image_create_info.mipLevels = 1; in TEST_F()
294 image_create_info.arrayLayers = 1; in TEST_F()
[all …]
Dvklayertests_command.cpp1201 VkImageCreateInfo image_create_info = {}; in TEST_F() local
1202 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
1203 image_create_info.pNext = NULL; in TEST_F()
1204 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
1205 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
1206 image_create_info.extent.width = 32; in TEST_F()
1207 image_create_info.extent.height = 32; in TEST_F()
1208 image_create_info.extent.depth = 1; in TEST_F()
1209 image_create_info.mipLevels = 1; in TEST_F()
1210 image_create_info.arrayLayers = 4; in TEST_F()
[all …]
Dvkpositivelayertests.cpp2664 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2665 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2666 image_create_info.pNext = NULL; in TEST_F()
2667 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2668 image_create_info.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
2669 image_create_info.extent.width = 64; in TEST_F()
2670 image_create_info.extent.height = 64; in TEST_F()
2671 image_create_info.extent.depth = 1; in TEST_F()
2672 image_create_info.mipLevels = 1; in TEST_F()
2673 image_create_info.arrayLayers = 1; in TEST_F()
[all …]
Dvklayertests_others.cpp2765 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2766 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2767 image_create_info.pNext = NULL; in TEST_F()
2768 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2769 image_create_info.format = VK_FORMAT_R8_UINT; in TEST_F()
2770 image_create_info.extent.width = 4; in TEST_F()
2771 image_create_info.extent.height = 4; in TEST_F()
2772 image_create_info.extent.depth = 1; in TEST_F()
2773 image_create_info.mipLevels = 1; in TEST_F()
2774 image_create_info.arrayLayers = 1; in TEST_F()
[all …]
Dvklayertests_descriptor_renderpass_framebuffer.cpp4117 VkImageCreateInfo image_create_info = {}; in TEST_F() local
4118 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
4119 image_create_info.pNext = NULL; in TEST_F()
4120 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
4121 image_create_info.format = tex_format; in TEST_F()
4122 image_create_info.extent.width = tex_width; in TEST_F()
4123 image_create_info.extent.height = tex_height; in TEST_F()
4124 image_create_info.extent.depth = 1; in TEST_F()
4125 image_create_info.mipLevels = 1; in TEST_F()
4126 image_create_info.arrayLayers = 1; in TEST_F()
[all …]
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp132 const VkImageCreateInfo &image_create_info = image_state.createInfo; in NormalizeSubresourceRange() local
134 norm.levelCount = ResolveRemainingLevels(&range, image_create_info.mipLevels); in NormalizeSubresourceRange()
138 …uint32_t layer_limit = (0 != (image_create_info.flags & VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KH… in NormalizeSubresourceRange()
139 ? image_create_info.extent.depth in NormalizeSubresourceRange()
140 : image_create_info.arrayLayers; in NormalizeSubresourceRange()
145 if (FormatIsMultiplane(image_create_info.format)) { in NormalizeSubresourceRange()
149 if (FormatPlaneCount(image_create_info.format) > 2) { in NormalizeSubresourceRange()
798 VkImageCreateInfo *image_create_info = &image_state->createInfo; in ValidateBarriersToImages() local
800 if (FormatIsDepthAndStencil(image_create_info->format)) { in ValidateBarriersToImages()
809 string_VkFormat(image_create_info->format), aspect_mask); in ValidateBarriersToImages()
[all …]