Lines Matching refs:image_create_info
1310 VkImageCreateInfo image_create_info = {}; in TEST_F() local
1311 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
1312 image_create_info.pNext = NULL; in TEST_F()
1313 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
1314 image_create_info.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
1315 image_create_info.extent.width = 64; in TEST_F()
1316 image_create_info.extent.height = 64; in TEST_F()
1317 image_create_info.extent.depth = 1; in TEST_F()
1318 image_create_info.mipLevels = 1; in TEST_F()
1319 image_create_info.arrayLayers = 1; in TEST_F()
1320 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
1322 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
1323 image_create_info.initialLayout = VK_IMAGE_LAYOUT_PREINITIALIZED; in TEST_F()
1324 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
1325 image_create_info.queueFamilyIndexCount = 0; in TEST_F()
1326 image_create_info.pQueueFamilyIndices = NULL; in TEST_F()
1327 image_create_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in TEST_F()
1328 image_create_info.flags = 0; in TEST_F()
1330 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
1332 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image2); in TEST_F()
1727 VkImageCreateInfo image_create_info = {}; in TEST_F() local
1728 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
1729 image_create_info.pNext = NULL; in TEST_F()
1730 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
1731 image_create_info.format = tex_format; in TEST_F()
1732 image_create_info.extent.width = tex_width; in TEST_F()
1733 image_create_info.extent.height = tex_height; in TEST_F()
1734 image_create_info.extent.depth = 1; in TEST_F()
1735 image_create_info.mipLevels = 1; in TEST_F()
1736 image_create_info.arrayLayers = 1; in TEST_F()
1737 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
1738 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
1739 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
1740 image_create_info.flags = 0; in TEST_F()
1741 image_create_info.initialLayout = VK_IMAGE_LAYOUT_PREINITIALIZED; in TEST_F()
1748 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
1798 VkImageCreateInfo image_create_info = {}; in TEST_F() local
1799 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
1800 image_create_info.pNext = NULL; in TEST_F()
1801 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
1802 image_create_info.format = tex_format; in TEST_F()
1803 image_create_info.extent.width = tex_width; in TEST_F()
1804 image_create_info.extent.height = tex_height; in TEST_F()
1805 image_create_info.extent.depth = 1; in TEST_F()
1806 image_create_info.mipLevels = 1; in TEST_F()
1807 image_create_info.arrayLayers = 1; in TEST_F()
1808 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
1809 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
1810 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
1811 image_create_info.flags = 0; in TEST_F()
1822 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
2216 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2217 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2218 image_create_info.pNext = NULL; in TEST_F()
2219 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2220 image_create_info.format = tex_format; in TEST_F()
2221 image_create_info.extent.width = tex_width; in TEST_F()
2222 image_create_info.extent.height = tex_height; in TEST_F()
2223 image_create_info.extent.depth = 1; in TEST_F()
2224 image_create_info.mipLevels = 1; in TEST_F()
2225 image_create_info.arrayLayers = 1; in TEST_F()
2226 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
2227 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
2228 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
2229 image_create_info.flags = 0; in TEST_F()
2237 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
2291 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2292 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2293 image_create_info.pNext = NULL; in TEST_F()
2294 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2295 image_create_info.format = tex_format; in TEST_F()
2296 image_create_info.extent.width = tex_width; in TEST_F()
2297 image_create_info.extent.height = tex_height; in TEST_F()
2298 image_create_info.extent.depth = 1; in TEST_F()
2299 image_create_info.mipLevels = 1; in TEST_F()
2300 image_create_info.arrayLayers = 1; in TEST_F()
2301 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
2302 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
2303 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
2304 image_create_info.flags = 0; in TEST_F()
2312 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
2357 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2358 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2359 image_create_info.pNext = NULL; in TEST_F()
2360 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2361 image_create_info.format = tex_format; in TEST_F()
2362 image_create_info.extent.width = tex_width; in TEST_F()
2363 image_create_info.extent.height = tex_height; in TEST_F()
2364 image_create_info.extent.depth = 1; in TEST_F()
2365 image_create_info.mipLevels = 1; in TEST_F()
2366 image_create_info.arrayLayers = 1; in TEST_F()
2367 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
2368 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
2369 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
2370 image_create_info.flags = 0; in TEST_F()
2378 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
2416 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2417 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2418 image_create_info.pNext = NULL; in TEST_F()
2419 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2420 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
2421 image_create_info.extent.width = 256; in TEST_F()
2422 image_create_info.extent.height = 256; in TEST_F()
2423 image_create_info.extent.depth = 1; in TEST_F()
2424 image_create_info.mipLevels = 1; in TEST_F()
2425 image_create_info.arrayLayers = 1; in TEST_F()
2426 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
2427 image_create_info.flags = 0; in TEST_F()
2442 image_create_info.samples = VK_SAMPLE_COUNT_2_BIT; in TEST_F()
2443 … image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
2445 src_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2446 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
2447 … image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
2449 dst_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2463 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
2464 … image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
2466 src_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2467 image_create_info.samples = VK_SAMPLE_COUNT_4_BIT; in TEST_F()
2468 … image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
2470 dst_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2496 image_create_info.samples = VK_SAMPLE_COUNT_8_BIT; in TEST_F()
2497 … image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
2499 dst_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2515 image_create_info.samples = VK_SAMPLE_COUNT_2_BIT; in TEST_F()
2516 … image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
2518 src_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2603 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2604 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2605 image_create_info.pNext = NULL; in TEST_F()
2606 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2607 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
2608 image_create_info.extent.width = 32; in TEST_F()
2609 image_create_info.extent.height = 32; in TEST_F()
2610 image_create_info.extent.depth = 1; in TEST_F()
2611 image_create_info.mipLevels = 1; in TEST_F()
2612 image_create_info.arrayLayers = 4; in TEST_F()
2613 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
2614 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
2615 image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
2616 image_create_info.flags = 0; in TEST_F()
2618 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
2621 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
4085 VkImageCreateInfo image_create_info = {}; in TEST_F() local
4086 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
4087 image_create_info.pNext = NULL; in TEST_F()
4088 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
4089 image_create_info.format = tex_format; in TEST_F()
4090 image_create_info.extent.width = 32; in TEST_F()
4091 image_create_info.extent.height = 32; in TEST_F()
4092 image_create_info.extent.depth = 1; in TEST_F()
4093 image_create_info.mipLevels = 1; in TEST_F()
4094 image_create_info.arrayLayers = 1; in TEST_F()
4095 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
4096 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
4097 image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
4098 image_create_info.flags = 0; in TEST_F()
4099 VkResult err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
4363 VkImageCreateInfo image_create_info = {}; in TEST_F() local
4364 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
4365 image_create_info.pNext = NULL; in TEST_F()
4366 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
4367 image_create_info.format = tex_format; in TEST_F()
4368 image_create_info.extent.width = 32; in TEST_F()
4369 image_create_info.extent.height = 32; in TEST_F()
4370 image_create_info.extent.depth = 1; in TEST_F()
4371 image_create_info.mipLevels = 1; in TEST_F()
4372 image_create_info.arrayLayers = 1; in TEST_F()
4373 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
4374 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
4375 image_create_info.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
4376 image_create_info.flags = 0; in TEST_F()
4377 VkResult err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
4854 VkImageCreateInfo image_create_info = {}; in TEST_F() local
4855 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
4856 image_create_info.pNext = NULL; in TEST_F()
4857 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
4858 image_create_info.format = tex_format; in TEST_F()
4859 image_create_info.extent.width = tex_width; in TEST_F()
4860 image_create_info.extent.height = tex_height; in TEST_F()
4861 image_create_info.extent.depth = 1; in TEST_F()
4862 image_create_info.mipLevels = 1; in TEST_F()
4863 image_create_info.arrayLayers = 1; in TEST_F()
4864 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
4865 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
4866 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
4867 image_create_info.flags = 0; in TEST_F()
4868 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
4870 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image2); in TEST_F()
5255 VkImageCreateInfo image_create_info = {}; in TEST_F() local
5256 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
5257 image_create_info.pNext = NULL; in TEST_F()
5258 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
5259 image_create_info.format = tex_format; in TEST_F()
5260 image_create_info.extent.width = tex_width; in TEST_F()
5261 image_create_info.extent.height = tex_height; in TEST_F()
5262 image_create_info.extent.depth = 1; in TEST_F()
5263 image_create_info.mipLevels = 1; in TEST_F()
5264 image_create_info.arrayLayers = 1; in TEST_F()
5265 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
5266 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
5267 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
5268 image_create_info.flags = 0; in TEST_F()
5269 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
6238 VkImageCreateInfo image_create_info = {}; in TEST_F() local
6239 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
6240 image_create_info.pNext = NULL; in TEST_F()
6241 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
6242 image_create_info.format = tex_format; in TEST_F()
6243 image_create_info.extent.width = tex_width; in TEST_F()
6244 image_create_info.extent.height = tex_height; in TEST_F()
6245 image_create_info.extent.depth = 1; in TEST_F()
6246 image_create_info.mipLevels = 1; in TEST_F()
6247 image_create_info.arrayLayers = 1; in TEST_F()
6248 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
6249 image_create_info.tiling = tiling; in TEST_F()
6250 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_STORAGE_BIT; in TEST_F()
6251 image_create_info.flags = 0; in TEST_F()
6252 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
7684 VkImageCreateInfo image_create_info = {}; in TEST_F() local
7685 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
7686 image_create_info.pNext = NULL; in TEST_F()
7687 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
7688 image_create_info.format = tex_format; in TEST_F()
7689 image_create_info.extent.width = tex_width; in TEST_F()
7690 image_create_info.extent.height = tex_height; in TEST_F()
7691 image_create_info.extent.depth = 1; in TEST_F()
7692 image_create_info.mipLevels = 1; in TEST_F()
7693 image_create_info.arrayLayers = 1; in TEST_F()
7694 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
7695 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
7696 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
7699 dstImage.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
7701 …const VkImageSubresourceRange range = vk_testing::Image::subresource_range(image_create_info, VK_I… in TEST_F()
7721 VkImageCreateInfo image_create_info = vk_testing::Image::create_info(); in TEST_F() local
7722 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
7723 image_create_info.format = VK_FORMAT_D24_UNORM_S8_UINT; in TEST_F()
7724 image_create_info.extent.width = 64; in TEST_F()
7725 image_create_info.extent.height = 64; in TEST_F()
7726 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
7727 image_create_info.usage = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in TEST_F()
7730 dstImage.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
7732 …const VkImageSubresourceRange range = vk_testing::Image::subresource_range(image_create_info, VK_I… in TEST_F()
9997 VkImageCreateInfo image_create_info = {}; in TEST_F() local
9998 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
9999 image_create_info.pNext = NULL; in TEST_F()
10000 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
10001 image_create_info.format = tex_format; in TEST_F()
10002 image_create_info.extent.width = tex_width; in TEST_F()
10003 image_create_info.extent.height = tex_height; in TEST_F()
10004 image_create_info.extent.depth = 1; in TEST_F()
10005 image_create_info.mipLevels = 1; in TEST_F()
10006 image_create_info.arrayLayers = 4; in TEST_F()
10007 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
10008 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
10009 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
10010 image_create_info.flags = 0; in TEST_F()
10012 VkResult err = vkCreateImage(m_device->device(), &image_create_info, NULL, &src_image); in TEST_F()
10014 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dst_image); in TEST_F()
13339 VkImageCreateInfo image_create_info = {}; in TEST_F() local
13340 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
13341 image_create_info.pNext = NULL; in TEST_F()
13342 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
13343 image_create_info.format = tex_format; in TEST_F()
13344 image_create_info.extent.width = tex_width; in TEST_F()
13345 image_create_info.extent.height = tex_height; in TEST_F()
13346 image_create_info.extent.depth = 1; in TEST_F()
13347 image_create_info.mipLevels = 1; in TEST_F()
13348 image_create_info.arrayLayers = 1; in TEST_F()
13349 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
13350 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
13351 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
13352 image_create_info.flags = 0; in TEST_F()
13355 image_create_info.extent.width = 65536; in TEST_F()
13356 vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
13374 VkImageCreateInfo image_create_info = {}; in TEST_F() local
13375 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
13376 image_create_info.pNext = NULL; in TEST_F()
13377 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
13378 image_create_info.format = tex_format; in TEST_F()
13379 image_create_info.extent.width = tex_width; in TEST_F()
13380 image_create_info.extent.height = tex_height; in TEST_F()
13381 image_create_info.extent.depth = 1; in TEST_F()
13382 image_create_info.mipLevels = 1; in TEST_F()
13383 image_create_info.arrayLayers = 1; in TEST_F()
13384 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
13385 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
13386 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
13387 image_create_info.flags = 0; in TEST_F()
13390 image_create_info.extent.width = 0; in TEST_F()
13391 vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
13446 VkImageCreateInfo image_create_info = {}; in TEST_F() local
13447 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
13448 image_create_info.pNext = NULL; in TEST_F()
13449 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
13450 image_create_info.format = tex_format; in TEST_F()
13451 image_create_info.extent.width = tex_width; in TEST_F()
13452 image_create_info.extent.height = tex_height; in TEST_F()
13453 image_create_info.extent.depth = 1; in TEST_F()
13454 image_create_info.mipLevels = 1; in TEST_F()
13455 image_create_info.arrayLayers = 1; in TEST_F()
13456 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
13457 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
13458 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
13459 image_create_info.flags = 0; in TEST_F()
13461 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
13495 VkImageCreateInfo image_create_info = {}; in TEST_F() local
13496 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
13497 image_create_info.pNext = NULL; in TEST_F()
13498 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
13499 image_create_info.format = tex_format; in TEST_F()
13500 image_create_info.extent.width = tex_width; in TEST_F()
13501 image_create_info.extent.height = tex_height; in TEST_F()
13502 image_create_info.extent.depth = 1; in TEST_F()
13503 image_create_info.mipLevels = 1; in TEST_F()
13504 image_create_info.arrayLayers = 1; in TEST_F()
13505 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
13506 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
13507 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
13508 image_create_info.flags = 0; in TEST_F()
13510 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
13579 VkImageCreateInfo image_create_info = {}; in TEST_F() local
13580 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
13581 image_create_info.pNext = NULL; in TEST_F()
13582 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
13583 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
13584 image_create_info.extent.width = 32; in TEST_F()
13585 image_create_info.extent.height = 32; in TEST_F()
13586 image_create_info.extent.depth = 1; in TEST_F()
13587 image_create_info.mipLevels = 1; in TEST_F()
13588 image_create_info.arrayLayers = 4; in TEST_F()
13589 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
13590 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
13591 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
13592 image_create_info.flags = 0; in TEST_F()
13594 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
13597 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
13598 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
13670 VkImageCreateInfo image_create_info; in TEST_F() local
13671 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
13672 image_create_info.pNext = NULL; in TEST_F()
13673 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
13674 image_create_info.format = VK_FORMAT_UNDEFINED; in TEST_F()
13675 image_create_info.extent.width = 32; in TEST_F()
13676 image_create_info.extent.height = 32; in TEST_F()
13677 image_create_info.extent.depth = 1; in TEST_F()
13678 image_create_info.mipLevels = 1; in TEST_F()
13679 image_create_info.arrayLayers = 1; in TEST_F()
13680 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
13681 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
13682 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
13683 image_create_info.flags = 0; in TEST_F()
13689 vkCreateImage(m_device->handle(), &image_create_info, NULL, &localImage); in TEST_F()
13704 image_create_info.format = unsupported; in TEST_F()
13707 vkCreateImage(m_device->handle(), &image_create_info, NULL, &localImage); in TEST_F()
13941 VkImageCreateInfo image_create_info = {}; in TEST_F() local
13942 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
13943 image_create_info.pNext = NULL; in TEST_F()
13944 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
13945 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
13946 image_create_info.extent.width = 32; in TEST_F()
13947 image_create_info.extent.height = 32; in TEST_F()
13948 image_create_info.extent.depth = 1; in TEST_F()
13949 image_create_info.mipLevels = 1; in TEST_F()
13950 image_create_info.arrayLayers = 1; in TEST_F()
13951 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
13952 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
13953 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
13954 image_create_info.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; in TEST_F()
13955 image_create_info.flags = 0; in TEST_F()
13959 …sicalDeviceImageFormatProperties(gpu(), image_create_info.format, image_create_info.imageType, ima… in TEST_F()
13960 … image_create_info.usage, image_create_info.flags, &imgFmtProps); in TEST_F()
13961 image_create_info.extent.depth = imgFmtProps.maxExtent.depth + 1; in TEST_F()
13963 vkCreateImage(m_device->handle(), &image_create_info, NULL, &nullImg); in TEST_F()
13965 image_create_info.extent.depth = 1; in TEST_F()
13968 image_create_info.mipLevels = imgFmtProps.maxMipLevels + 1; in TEST_F()
13970 vkCreateImage(m_device->handle(), &image_create_info, NULL, &nullImg); in TEST_F()
13972 image_create_info.mipLevels = 1; in TEST_F()
13975 image_create_info.arrayLayers = imgFmtProps.maxArrayLayers + 1; in TEST_F()
13977 vkCreateImage(m_device->handle(), &image_create_info, NULL, &nullImg); in TEST_F()
13979 image_create_info.arrayLayers = 1; in TEST_F()
13983 image_create_info.samples = (VkSampleCountFlagBits)samples; in TEST_F()
13985 vkCreateImage(m_device->handle(), &image_create_info, NULL, &nullImg); in TEST_F()
13987 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
13992 image_create_info.initialLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in TEST_F()
13994 vkCreateImage(m_device->handle(), &image_create_info, NULL, &nullImg); in TEST_F()
13996 image_create_info.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; in TEST_F()
14092 VkImageCreateInfo image_create_info = {}; in TEST_F() local
14093 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
14094 image_create_info.pNext = NULL; in TEST_F()
14095 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
14096 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
14097 image_create_info.extent.width = 32; in TEST_F()
14098 image_create_info.extent.height = 32; in TEST_F()
14099 image_create_info.extent.depth = 1; in TEST_F()
14100 image_create_info.mipLevels = 1; in TEST_F()
14101 image_create_info.arrayLayers = 1; in TEST_F()
14102 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
14103 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
14104 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
14105 image_create_info.flags = 0; in TEST_F()
14107 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
14110 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
14112 image_create_info.format = VK_FORMAT_R5G5B5A1_UNORM_PACK16; in TEST_F()
14114 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
14190 VkImageCreateInfo image_create_info = {}; in TEST_F() local
14191 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
14192 image_create_info.pNext = NULL; in TEST_F()
14193 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
14194 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
14195 image_create_info.extent.width = 32; in TEST_F()
14196 image_create_info.extent.height = 32; in TEST_F()
14197 image_create_info.extent.depth = 1; in TEST_F()
14198 image_create_info.mipLevels = 1; in TEST_F()
14199 image_create_info.arrayLayers = 1; in TEST_F()
14200 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
14201 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
14202 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
14203 image_create_info.flags = 0; in TEST_F()
14205 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
14208 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
14211 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
14212 image_create_info.format = VK_FORMAT_D24_UNORM_S8_UINT; in TEST_F()
14213 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
14215 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
14290 VkImageCreateInfo image_create_info = {}; in TEST_F() local
14291 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
14292 image_create_info.pNext = NULL; in TEST_F()
14293 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
14294 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
14295 image_create_info.extent.width = 32; in TEST_F()
14296 image_create_info.extent.height = 1; in TEST_F()
14297 image_create_info.extent.depth = 1; in TEST_F()
14298 image_create_info.mipLevels = 1; in TEST_F()
14299 image_create_info.arrayLayers = 1; in TEST_F()
14300 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
14301 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
14302 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
14303 image_create_info.flags = 0; in TEST_F()
14305 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
14308 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
14310 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
14388 VkImageCreateInfo image_create_info = {}; in TEST_F() local
14389 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
14390 image_create_info.pNext = NULL; in TEST_F()
14391 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
14392 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
14393 image_create_info.extent.width = 32; in TEST_F()
14394 image_create_info.extent.height = 1; in TEST_F()
14395 image_create_info.extent.depth = 1; in TEST_F()
14396 image_create_info.mipLevels = 1; in TEST_F()
14397 image_create_info.arrayLayers = 1; in TEST_F()
14398 image_create_info.samples = VK_SAMPLE_COUNT_4_BIT; in TEST_F()
14399 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
14402 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
14403 image_create_info.flags = 0; in TEST_F()
14405 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
14410 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
14412 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
14490 VkImageCreateInfo image_create_info = {}; in TEST_F() local
14491 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
14492 image_create_info.pNext = NULL; in TEST_F()
14493 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
14494 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
14495 image_create_info.extent.width = 32; in TEST_F()
14496 image_create_info.extent.height = 1; in TEST_F()
14497 image_create_info.extent.depth = 1; in TEST_F()
14498 image_create_info.mipLevels = 1; in TEST_F()
14499 image_create_info.arrayLayers = 1; in TEST_F()
14500 image_create_info.samples = VK_SAMPLE_COUNT_2_BIT; in TEST_F()
14501 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
14504 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
14505 image_create_info.flags = 0; in TEST_F()
14507 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
14511 image_create_info.format = VK_FORMAT_R32_SFLOAT; in TEST_F()
14514 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
14515 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
14517 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
14595 VkImageCreateInfo image_create_info = {}; in TEST_F() local
14596 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
14597 image_create_info.pNext = NULL; in TEST_F()
14598 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
14599 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
14600 image_create_info.extent.width = 32; in TEST_F()
14601 image_create_info.extent.height = 1; in TEST_F()
14602 image_create_info.extent.depth = 1; in TEST_F()
14603 image_create_info.mipLevels = 1; in TEST_F()
14604 image_create_info.arrayLayers = 1; in TEST_F()
14605 image_create_info.samples = VK_SAMPLE_COUNT_2_BIT; in TEST_F()
14606 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
14609 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
14610 image_create_info.flags = 0; in TEST_F()
14612 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
14615 image_create_info.imageType = VK_IMAGE_TYPE_1D; in TEST_F()
14618 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
14619 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
14621 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
14744 VkImageCreateInfo image_create_info = {}; in TEST_F() local
14745 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
14746 image_create_info.pNext = NULL; in TEST_F()
14747 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
14748 image_create_info.format = tex_format_bad; in TEST_F()
14749 image_create_info.extent.width = tex_width; in TEST_F()
14750 image_create_info.extent.height = tex_height; in TEST_F()
14751 image_create_info.extent.depth = 1; in TEST_F()
14752 image_create_info.mipLevels = 1; in TEST_F()
14753 image_create_info.arrayLayers = 1; in TEST_F()
14754 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
14755 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
14756 …image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in TEST_F()
14757 image_create_info.flags = 0; in TEST_F()
14759 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image_bad); in TEST_F()
14761 image_create_info.format = tex_format_good; in TEST_F()
14762 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
14763 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image_good); in TEST_F()
14806 VkImageCreateInfo image_create_info = {}; in TEST_F() local
14807 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
14808 image_create_info.pNext = NULL; in TEST_F()
14809 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
14810 image_create_info.format = color_format; in TEST_F()
14811 image_create_info.extent.width = img_width; in TEST_F()
14812 image_create_info.extent.height = img_height; in TEST_F()
14813 image_create_info.extent.depth = 1; in TEST_F()
14814 image_create_info.mipLevels = 1; in TEST_F()
14815 image_create_info.arrayLayers = 1; in TEST_F()
14816 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
14817 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
14818 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
14821 color_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
14823 …SubresourceRange color_range = vk_testing::Image::subresource_range(image_create_info, VK_IMAGE_AS… in TEST_F()
15232 VkImageCreateInfo image_create_info = {}; in TEST_F() local
15233 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
15234 image_create_info.pNext = NULL; in TEST_F()
15235 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
15236 image_create_info.format = tex_format; in TEST_F()
15237 image_create_info.extent.width = tex_width; in TEST_F()
15238 image_create_info.extent.height = tex_height; in TEST_F()
15239 image_create_info.extent.depth = 1; in TEST_F()
15240 image_create_info.mipLevels = 1; in TEST_F()
15241 image_create_info.arrayLayers = 1; in TEST_F()
15242 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
15243 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
15244 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
15245 image_create_info.flags = 0; in TEST_F()
15246 VkResult err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
15788 VkImageCreateInfo image_create_info = {}; in TEST_F() local
15789 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
15790 image_create_info.pNext = NULL; in TEST_F()
15791 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
15792 image_create_info.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
15793 image_create_info.extent.width = 64; in TEST_F()
15794 image_create_info.extent.height = 64; in TEST_F()
15795 image_create_info.extent.depth = 1; in TEST_F()
15796 image_create_info.mipLevels = 1; in TEST_F()
15797 image_create_info.arrayLayers = 1; in TEST_F()
15798 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
15799 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
15800 image_create_info.initialLayout = VK_IMAGE_LAYOUT_PREINITIALIZED; in TEST_F()
15801 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
15802 image_create_info.queueFamilyIndexCount = 0; in TEST_F()
15803 image_create_info.pQueueFamilyIndices = NULL; in TEST_F()
15804 image_create_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in TEST_F()
15805 image_create_info.flags = 0; in TEST_F()
15816 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
16092 VkImageCreateInfo image_create_info = {}; in TEST_F() local
16093 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
16094 image_create_info.pNext = NULL; in TEST_F()
16095 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
16096 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
16097 image_create_info.extent.width = 64; in TEST_F()
16098 image_create_info.extent.height = 64; in TEST_F()
16099 image_create_info.extent.depth = 1; in TEST_F()
16100 image_create_info.mipLevels = 1; in TEST_F()
16101 image_create_info.arrayLayers = 1; in TEST_F()
16102 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
16103 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
16104 image_create_info.usage = VK_IMAGE_USAGE_STORAGE_BIT; in TEST_F()
16105 image_create_info.flags = VK_IMAGE_CREATE_SPARSE_BINDING_BIT; in TEST_F()
16106 VkResult err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); in TEST_F()
16124 image_create_info.extent.width *= 2; in TEST_F()
16125 image_create_info.extent.height *= 2; in TEST_F()
16126 err = vkCreateImage(m_device->device(), &image_create_info, nullptr, &image); in TEST_F()