Lines Matching refs:vkImageInfo
68 VkImageCreateInfo vkImageInfo = {}; in createBackendTexture() local
69 vkImageInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in createBackendTexture()
70 vkImageInfo.imageType = VK_IMAGE_TYPE_2D; in createBackendTexture()
71 vkImageInfo.format = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM; in createBackendTexture()
72 vkImageInfo.extent = VkExtent3D{width, height, 1}; in createBackendTexture()
73 vkImageInfo.mipLevels = 1; in createBackendTexture()
74 vkImageInfo.arrayLayers = 1; in createBackendTexture()
75 vkImageInfo.samples = VK_SAMPLE_COUNT_1_BIT; in createBackendTexture()
76 vkImageInfo.tiling = VK_IMAGE_TILING_LINEAR; in createBackendTexture()
77 vkImageInfo.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT | in createBackendTexture()
79 vkImageInfo.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in createBackendTexture()
80 vkImageInfo.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; in createBackendTexture()
83 GR_VK_CALL_RESULT(vkGpu, result, CreateImage(vkGpu->device(), &vkImageInfo, nullptr, &fImage)); in createBackendTexture()
179 GrVkYcbcrConversionInfo ycbcrInfo = {vkImageInfo.format, in createBackendTexture()
197 vkImageInfo.format, in createBackendTexture()
198 vkImageInfo.usage, in createBackendTexture()