• Home
  • Raw
  • Download

Lines Matching refs:pCreateInfo

152                    const VkImageViewCreateInfo *pCreateInfo,  in tu_image_view_init()  argument
155 TU_FROM_HANDLE(tu_image, image, pCreateInfo->image); in tu_image_view_init()
156 const VkImageSubresourceRange *range = &pCreateInfo->subresourceRange; in tu_image_view_init()
157 VkFormat vk_format = pCreateInfo->format; in tu_image_view_init()
158 VkImageAspectFlagBits aspect_mask = pCreateInfo->subresourceRange.aspectMask; in tu_image_view_init()
161 vk_find_struct_const(pCreateInfo->pNext, SAMPLER_YCBCR_CONVERSION_INFO); in tu_image_view_init()
165 vk_image_view_init(&device->vk, &iview->vk, false, pCreateInfo); in tu_image_view_init()
207 vk_component_mapping_to_pipe_swizzle(pCreateInfo->components, args.swiz); in tu_image_view_init()
216 switch (pCreateInfo->viewType) { in tu_image_view_init()
343 const VkImageCreateInfo *pCreateInfo, uint64_t modifier, in tu_image_init() argument
346 vk_image_init(&device->vk, &image->vk, pCreateInfo); in tu_image_init()
353 if (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR || modifier == DRM_FORMAT_MOD_LINEAR) { in tu_image_init()
365 if (pCreateInfo->imageType == VK_IMAGE_TYPE_1D) { in tu_image_init()
387 if ((pCreateInfo->flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT) && in tu_image_init()
390 vk_find_struct_const(pCreateInfo->pNext, IMAGE_FORMAT_LIST_CREATE_INFO); in tu_image_init()
433 if (!ubwc_possible(image->vk.format, pCreateInfo->imageType, in tu_image_init()
434 pCreateInfo->usage, image->vk.stencil_usage, in tu_image_init()
435 device->physical_device->info, pCreateInfo->samples, in tu_image_init()
457 uint32_t width0 = pCreateInfo->extent.width; in tu_image_init()
458 uint32_t height0 = pCreateInfo->extent.height; in tu_image_init()
481 if (pCreateInfo->mipLevels != 1 || in tu_image_init()
482 pCreateInfo->arrayLayers != 1 || in tu_image_init()
483 pCreateInfo->extent.depth != 1) in tu_image_init()
495 pCreateInfo->samples, in tu_image_init()
497 pCreateInfo->extent.depth, in tu_image_init()
498 pCreateInfo->mipLevels, in tu_image_init()
499 pCreateInfo->arrayLayers, in tu_image_init()
500 pCreateInfo->imageType == VK_IMAGE_TYPE_3D, in tu_image_init()
514 for (int i = 0; i < pCreateInfo->mipLevels; i++) { in tu_image_init()
588 const VkImageCreateInfo *pCreateInfo, in tu_CreateImage() argument
602 if (pCreateInfo->tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) { in tu_CreateImage()
604 vk_find_struct_const(pCreateInfo->pNext, in tu_CreateImage()
607 vk_find_struct_const(pCreateInfo->pNext, in tu_CreateImage()
626 vk_find_struct_const(pCreateInfo->pNext, WSI_IMAGE_CREATE_INFO_MESA); in tu_CreateImage()
633 vk_find_struct_const(pCreateInfo->pNext, NATIVE_BUFFER_ANDROID); in tu_CreateImage()
642 VkResult result = tu_image_init(device, image, pCreateInfo, modifier, in tu_CreateImage()
734 tu_image_init(device, &image, pInfo->pCreateInfo, DRM_FORMAT_MOD_INVALID, in tu_GetDeviceImageMemoryRequirements()
779 const VkImageViewCreateInfo *pCreateInfo, in tu_CreateImageView() argument
791 tu_image_view_init(device, view, pCreateInfo, device->use_z24uint_s8uint); in tu_CreateImageView()
815 const VkBufferViewCreateInfo *pCreateInfo) in tu_buffer_view_init() argument
817 TU_FROM_HANDLE(tu_buffer, buffer, pCreateInfo->buffer); in tu_buffer_view_init()
822 if (pCreateInfo->range == VK_WHOLE_SIZE) in tu_buffer_view_init()
823 range = buffer->size - pCreateInfo->offset; in tu_buffer_view_init()
825 range = pCreateInfo->range; in tu_buffer_view_init()
831 view->descriptor, tu_vk_format_to_pipe_format(pCreateInfo->format), in tu_buffer_view_init()
832 swiz, buffer->iova + pCreateInfo->offset, range); in tu_buffer_view_init()
837 const VkBufferViewCreateInfo *pCreateInfo, in tu_CreateBufferView() argument
849 tu_buffer_view_init(view, device, pCreateInfo); in tu_CreateBufferView()