Lines Matching refs:image_create_info
2664 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()
2674 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
2675 image_create_info.tiling = image_tiling; in TEST_F()
2676 image_create_info.initialLayout = VK_IMAGE_LAYOUT_PREINITIALIZED; in TEST_F()
2677 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
2678 image_create_info.queueFamilyIndexCount = 0; in TEST_F()
2679 image_create_info.pQueueFamilyIndices = NULL; in TEST_F()
2680 image_create_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in TEST_F()
2681 image_create_info.flags = 0; in TEST_F()
2686 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
3284 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3285 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3286 image_create_info.pNext = NULL; in TEST_F()
3287 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3288 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3289 image_create_info.extent.width = 64; in TEST_F()
3290 image_create_info.extent.height = 64; in TEST_F()
3291 image_create_info.extent.depth = 1; in TEST_F()
3292 image_create_info.mipLevels = 1; in TEST_F()
3293 image_create_info.arrayLayers = 1; in TEST_F()
3294 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3295 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3296 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
3297 image_create_info.flags = VK_IMAGE_CREATE_SPARSE_BINDING_BIT; in TEST_F()
3298 VkResult err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
3316 image_create_info.extent.width *= 2; in TEST_F()
3317 image_create_info.extent.height *= 2; in TEST_F()
3318 err = vkCreateImage(m_device->device(), &image_create_info, nullptr, &image); in TEST_F()
3381 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3382 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3383 image_create_info.pNext = NULL; in TEST_F()
3384 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3385 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3386 image_create_info.extent.width = 64; in TEST_F()
3387 image_create_info.extent.height = 64; in TEST_F()
3388 image_create_info.extent.depth = 1; in TEST_F()
3389 image_create_info.mipLevels = 1; in TEST_F()
3390 image_create_info.arrayLayers = 1; in TEST_F()
3391 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3392 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3393 image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
3394 …image_create_info.flags = VK_IMAGE_CREATE_SPARSE_BINDING_BIT | VK_IMAGE_CREATE_SPARSE_RESIDENCY_BI… in TEST_F()
3395 VkResult err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
7677 auto image_create_info = lvl_init_struct<VkImageCreateInfo>(); in TEST_F() local
7678 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
7679 image_create_info.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
7680 image_create_info.extent.width = 64; in TEST_F()
7681 image_create_info.extent.height = 64; in TEST_F()
7682 image_create_info.extent.depth = 1; in TEST_F()
7683 image_create_info.mipLevels = 1; in TEST_F()
7684 image_create_info.arrayLayers = 1; in TEST_F()
7685 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
7686 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
7687 image_create_info.initialLayout = VK_IMAGE_LAYOUT_PREINITIALIZED; in TEST_F()
7688 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
7689 image_create_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in TEST_F()
7692 srcImage.init(&image_create_info); in TEST_F()
7694 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
7698 image_create_info.pNext = &image_swapchain_create_info; in TEST_F()
7701 vkCreateImage(device(), &image_create_info, NULL, &image_from_swapchain); in TEST_F()
7789 auto image_create_info = lvl_init_struct<VkImageCreateInfo>(); in TEST_F() local
7790 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
7791 image_create_info.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
7792 image_create_info.extent.width = 64; in TEST_F()
7793 image_create_info.extent.height = 64; in TEST_F()
7794 image_create_info.extent.depth = 1; in TEST_F()
7795 image_create_info.mipLevels = 1; in TEST_F()
7796 image_create_info.arrayLayers = 1; in TEST_F()
7797 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
7798 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
7799 image_create_info.initialLayout = VK_IMAGE_LAYOUT_PREINITIALIZED; in TEST_F()
7800 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
7801 image_create_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in TEST_F()
7804 src_Image.init(&image_create_info); in TEST_F()
7806 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
7807 image_create_info.flags = VK_IMAGE_CREATE_ALIAS_BIT; in TEST_F()
7811 image_create_info.pNext = &image_swapchain_create_info; in TEST_F()
7814 vkCreateImage(device(), &image_create_info, NULL, &peer_image); in TEST_F()