Lines Matching refs:image_create_info
1201 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()
1211 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
1212 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
1213 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
1214 image_create_info.flags = 0; in TEST_F()
1216 src_image_obj.init(&image_create_info); in TEST_F()
1219 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
1220 dst_image_obj.init(&image_create_info); in TEST_F()
2866 VkImageCreateInfo image_create_info = {}; in TEST_F() local
2867 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
2868 image_create_info.pNext = NULL; in TEST_F()
2869 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
2870 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
2871 image_create_info.extent.width = 32; in TEST_F()
2872 image_create_info.extent.height = 32; in TEST_F()
2873 image_create_info.extent.depth = 1; in TEST_F()
2874 image_create_info.mipLevels = 1; in TEST_F()
2875 image_create_info.arrayLayers = 1; in TEST_F()
2876 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
2877 image_create_info.tiling = VK_IMAGE_TILING_LINEAR; in TEST_F()
2878 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in TEST_F()
2879 image_create_info.flags = 0; in TEST_F()
2881 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &srcImage); in TEST_F()
2884 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
2886 image_create_info.format = VK_FORMAT_R5G5B5A1_UNORM_PACK16; in TEST_F()
2888 …vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), image_create_info.format, &propertie… in TEST_F()
2895 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &dstImage); in TEST_F()
3268 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3269 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3270 image_create_info.pNext = NULL; in TEST_F()
3271 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3272 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3273 image_create_info.extent.width = 32; in TEST_F()
3274 image_create_info.extent.height = 1; in TEST_F()
3275 image_create_info.extent.depth = 1; in TEST_F()
3276 image_create_info.mipLevels = 1; in TEST_F()
3277 image_create_info.arrayLayers = 1; in TEST_F()
3278 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3279 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3280 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
3281 image_create_info.flags = 0; in TEST_F()
3284 srcImage.init(&image_create_info); in TEST_F()
3288 dstImage.init(&image_create_info); in TEST_F()
3325 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3326 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3327 image_create_info.pNext = NULL; in TEST_F()
3328 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3329 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3330 image_create_info.extent.width = 32; in TEST_F()
3331 image_create_info.extent.height = 1; in TEST_F()
3332 image_create_info.extent.depth = 1; in TEST_F()
3333 image_create_info.mipLevels = 1; in TEST_F()
3334 image_create_info.arrayLayers = 1; in TEST_F()
3335 image_create_info.samples = VK_SAMPLE_COUNT_4_BIT; in TEST_F()
3336 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3339 image_create_info.usage = in TEST_F()
3341 image_create_info.flags = 0; in TEST_F()
3344 srcImage.init(&image_create_info); in TEST_F()
3348 dstImage.init(&image_create_info); in TEST_F()
3390 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3391 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3392 image_create_info.pNext = NULL; in TEST_F()
3393 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3394 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3395 image_create_info.extent.width = 32; in TEST_F()
3396 image_create_info.extent.height = 1; in TEST_F()
3397 image_create_info.extent.depth = 1; in TEST_F()
3398 image_create_info.mipLevels = 1; in TEST_F()
3399 image_create_info.arrayLayers = 1; in TEST_F()
3400 image_create_info.samples = VK_SAMPLE_COUNT_2_BIT; in TEST_F()
3401 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3404 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
3405 image_create_info.flags = 0; in TEST_F()
3406 srcImage.init(&image_create_info); in TEST_F()
3409 image_create_info.format = VK_FORMAT_R32_SFLOAT; in TEST_F()
3412 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
3413 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3414 dstImage.init(&image_create_info); in TEST_F()
3455 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3456 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3457 image_create_info.pNext = NULL; in TEST_F()
3458 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3459 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3460 image_create_info.extent.width = 32; in TEST_F()
3461 image_create_info.extent.height = 1; in TEST_F()
3462 image_create_info.extent.depth = 1; in TEST_F()
3463 image_create_info.mipLevels = 1; in TEST_F()
3464 image_create_info.arrayLayers = 1; in TEST_F()
3465 image_create_info.samples = VK_SAMPLE_COUNT_2_BIT; in TEST_F()
3466 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3469 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
3470 image_create_info.flags = 0; in TEST_F()
3471 srcImage.init(&image_create_info); in TEST_F()
3473 image_create_info.imageType = VK_IMAGE_TYPE_1D; in TEST_F()
3476 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in TEST_F()
3477 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3478 dstImage.init(&image_create_info); in TEST_F()
3516 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3517 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3518 image_create_info.pNext = NULL; in TEST_F()
3519 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3520 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3521 image_create_info.extent.width = 32; in TEST_F()
3522 image_create_info.extent.height = 32; in TEST_F()
3523 image_create_info.extent.depth = 1; in TEST_F()
3524 image_create_info.mipLevels = 1; in TEST_F()
3525 image_create_info.arrayLayers = 1; in TEST_F()
3526 image_create_info.samples = VK_SAMPLE_COUNT_2_BIT; in TEST_F()
3527 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3528 image_create_info.usage = in TEST_F()
3532 image_create_info.flags = 0; in TEST_F()
3533 srcImage.init(&image_create_info); in TEST_F()
3538 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3539 dstImage.init(&image_create_info); in TEST_F()
3592 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3593 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3594 image_create_info.pNext = NULL; in TEST_F()
3595 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3596 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3597 image_create_info.extent.width = 32; in TEST_F()
3598 image_create_info.extent.height = 32; in TEST_F()
3599 image_create_info.extent.depth = 1; in TEST_F()
3600 image_create_info.mipLevels = 1; in TEST_F()
3601 image_create_info.arrayLayers = 1; in TEST_F()
3602 image_create_info.samples = VK_SAMPLE_COUNT_2_BIT; in TEST_F()
3603 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3604 image_create_info.usage = in TEST_F()
3608 image_create_info.flags = 0; in TEST_F()
3609 srcImage.init(&image_create_info); in TEST_F()
3614 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3615 dstImage.init(&image_create_info); in TEST_F()
3649 resolveRegion.srcSubresource.mipLevel = image_create_info.mipLevels; in TEST_F()
3656 resolveRegion.dstSubresource.mipLevel = image_create_info.mipLevels; in TEST_F()
3663 resolveRegion.srcSubresource.baseArrayLayer = image_create_info.arrayLayers; in TEST_F()
3670 resolveRegion.dstSubresource.baseArrayLayer = image_create_info.arrayLayers; in TEST_F()
3694 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3695 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3696 image_create_info.pNext = NULL; in TEST_F()
3697 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3698 image_create_info.format = color_format; in TEST_F()
3699 image_create_info.extent.width = img_width; in TEST_F()
3700 image_create_info.extent.height = img_height; in TEST_F()
3701 image_create_info.extent.depth = 1; in TEST_F()
3702 image_create_info.mipLevels = 1; in TEST_F()
3703 image_create_info.arrayLayers = 1; in TEST_F()
3704 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3705 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3707 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in TEST_F()
3709 color_image_no_transfer.init(*m_device, image_create_info); in TEST_F()
3711 image_create_info.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
3713 color_image.init(*m_device, image_create_info); in TEST_F()
3715 …SubresourceRange color_range = vk_testing::Image::subresource_range(image_create_info, VK_IMAGE_AS… in TEST_F()
3801 VkImageCreateInfo image_create_info = {}; in TEST_F() local
3802 image_create_info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in TEST_F()
3803 image_create_info.pNext = NULL; in TEST_F()
3804 image_create_info.imageType = VK_IMAGE_TYPE_2D; in TEST_F()
3805 image_create_info.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3806 image_create_info.extent.width = 32; in TEST_F()
3807 image_create_info.extent.height = 1; in TEST_F()
3808 image_create_info.extent.depth = 1; in TEST_F()
3809 image_create_info.mipLevels = 1; in TEST_F()
3810 image_create_info.arrayLayers = 1; in TEST_F()
3811 image_create_info.samples = VK_SAMPLE_COUNT_1_BIT; in TEST_F()
3812 image_create_info.tiling = VK_IMAGE_TILING_OPTIMAL; in TEST_F()
3813 image_create_info.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in TEST_F()
3814 image_create_info.flags = 0; in TEST_F()
3820 image.init(&image_create_info); in TEST_F()