Home
last modified time | relevance | path

Searched refs:pCreateInfo (Results 1 – 25 of 161) sorted by relevance

1234567

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_framebuffer.c31 const VkFramebufferCreateInfo *pCreateInfo, in vk_common_CreateFramebuffer() argument
38 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO); in vk_common_CreateFramebuffer()
47 if (!(pCreateInfo->flags & VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT)) in vk_common_CreateFramebuffer()
48 size += sizeof(VkImageView) * pCreateInfo->attachmentCount; in vk_common_CreateFramebuffer()
55 framebuffer->flags = pCreateInfo->flags; in vk_common_CreateFramebuffer()
56 framebuffer->width = pCreateInfo->width; in vk_common_CreateFramebuffer()
57 framebuffer->height = pCreateInfo->height; in vk_common_CreateFramebuffer()
58 framebuffer->layers = pCreateInfo->layers; in vk_common_CreateFramebuffer()
60 if (!(pCreateInfo->flags & VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT)) { in vk_common_CreateFramebuffer()
61 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) in vk_common_CreateFramebuffer()
[all …]
Dvk_buffer_view.c34 const VkBufferViewCreateInfo *pCreateInfo) in vk_buffer_view_init() argument
36 VK_FROM_HANDLE(vk_buffer, buffer, pCreateInfo->buffer); in vk_buffer_view_init()
40 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO); in vk_buffer_view_init()
41 assert(pCreateInfo->flags == 0); in vk_buffer_view_init()
42 assert(pCreateInfo->range > 0); in vk_buffer_view_init()
45 buffer_view->format = pCreateInfo->format; in vk_buffer_view_init()
46 buffer_view->offset = pCreateInfo->offset; in vk_buffer_view_init()
47 buffer_view->range = vk_buffer_range(buffer, pCreateInfo->offset, in vk_buffer_view_init()
48 pCreateInfo->range); in vk_buffer_view_init()
55 const VkBufferViewCreateInfo *pCreateInfo, in vk_buffer_view_create() argument
[all …]
Dvk_ycbcr_conversion.c35 const VkSamplerYcbcrConversionCreateInfo *pCreateInfo, in vk_common_CreateSamplerYcbcrConversion() argument
42 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO); in vk_common_CreateSamplerYcbcrConversion()
51 state->format = pCreateInfo->format; in vk_common_CreateSamplerYcbcrConversion()
52 state->ycbcr_model = pCreateInfo->ycbcrModel; in vk_common_CreateSamplerYcbcrConversion()
53 state->ycbcr_range = pCreateInfo->ycbcrRange; in vk_common_CreateSamplerYcbcrConversion()
57 vk_find_struct_const(pCreateInfo->pNext, EXTERNAL_FORMAT_ANDROID); in vk_common_CreateSamplerYcbcrConversion()
61 assert(pCreateInfo->format == VK_FORMAT_UNDEFINED); in vk_common_CreateSamplerYcbcrConversion()
69 state->mapping[0] = pCreateInfo->components.r; in vk_common_CreateSamplerYcbcrConversion()
70 state->mapping[1] = pCreateInfo->components.g; in vk_common_CreateSamplerYcbcrConversion()
71 state->mapping[2] = pCreateInfo->components.b; in vk_common_CreateSamplerYcbcrConversion()
[all …]
Dvk_pipeline_layout.c37 const VkPipelineLayoutCreateInfo *pCreateInfo) in vk_pipeline_layout_init() argument
39 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO); in vk_pipeline_layout_init()
40 assert(pCreateInfo->setLayoutCount <= VK_MESA_PIPELINE_LAYOUT_MAX_SETS); in vk_pipeline_layout_init()
45 layout->create_flags = pCreateInfo->flags; in vk_pipeline_layout_init()
46 layout->set_count = pCreateInfo->setLayoutCount; in vk_pipeline_layout_init()
49 for (uint32_t s = 0; s < pCreateInfo->setLayoutCount; s++) { in vk_pipeline_layout_init()
51 pCreateInfo->pSetLayouts[s]); in vk_pipeline_layout_init()
62 const VkPipelineLayoutCreateInfo *pCreateInfo) in vk_pipeline_layout_zalloc() argument
73 vk_pipeline_layout_init(device, layout, pCreateInfo); in vk_pipeline_layout_zalloc()
80 const VkPipelineLayoutCreateInfo *pCreateInfo) in vk_pipeline_layout_multizalloc() argument
[all …]
Dvk_image.c45 const VkImageCreateInfo *pCreateInfo) in vk_image_init() argument
49 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO); in vk_image_init()
50 assert(pCreateInfo->mipLevels > 0); in vk_image_init()
51 assert(pCreateInfo->arrayLayers > 0); in vk_image_init()
52 assert(pCreateInfo->samples > 0); in vk_image_init()
53 assert(pCreateInfo->extent.width > 0); in vk_image_init()
54 assert(pCreateInfo->extent.height > 0); in vk_image_init()
55 assert(pCreateInfo->extent.depth > 0); in vk_image_init()
57 if (pCreateInfo->flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) in vk_image_init()
58 assert(pCreateInfo->imageType == VK_IMAGE_TYPE_2D); in vk_image_init()
[all …]
Dvk_sampler.c71 vk_sampler_border_color_value(const VkSamplerCreateInfo *pCreateInfo, in vk_sampler_border_color_value() argument
74 if (vk_border_color_is_custom(pCreateInfo->borderColor)) { in vk_sampler_border_color_value()
76 vk_find_struct_const(pCreateInfo->pNext, in vk_sampler_border_color_value()
86 return vk_border_color_value(pCreateInfo->borderColor); in vk_sampler_border_color_value()
92 const VkSamplerCreateInfo *pCreateInfo, in vk_sampler_create() argument
102 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO); in vk_sampler_create()
105 sampler->border_color = pCreateInfo->borderColor; in vk_sampler_create()
108 if (!vk_border_color_is_custom(pCreateInfo->borderColor)) { in vk_sampler_create()
110 vk_border_color_value(pCreateInfo->borderColor); in vk_sampler_create()
113 vk_foreach_struct_const(ext, pCreateInfo->pNext) { in vk_sampler_create()
[all …]
Dvk_buffer.c34 const VkBufferCreateInfo *pCreateInfo) in vk_buffer_init() argument
38 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO); in vk_buffer_init()
39 assert(pCreateInfo->size > 0); in vk_buffer_init()
41 buffer->create_flags = pCreateInfo->flags; in vk_buffer_init()
42 buffer->size = pCreateInfo->size; in vk_buffer_init()
43 buffer->usage = pCreateInfo->usage; in vk_buffer_init()
46 vk_find_struct_const(pCreateInfo->pNext, in vk_buffer_init()
54 const VkBufferCreateInfo *pCreateInfo, in vk_buffer_create() argument
64 vk_buffer_init(device, buffer, pCreateInfo); in vk_buffer_create()
110 VkBufferCreateInfo pCreateInfo = { in vk_common_GetBufferMemoryRequirements2() local
[all …]
Dvk_query_pool.c34 const VkQueryPoolCreateInfo *pCreateInfo) in vk_query_pool_init() argument
38 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO); in vk_query_pool_init()
40 query_pool->query_type = pCreateInfo->queryType; in vk_query_pool_init()
41 query_pool->query_count = pCreateInfo->queryCount; in vk_query_pool_init()
43 pCreateInfo->queryType == VK_QUERY_TYPE_PIPELINE_STATISTICS ? in vk_query_pool_init()
44 pCreateInfo->pipelineStatistics : 0; in vk_query_pool_init()
49 const VkQueryPoolCreateInfo *pCreateInfo, in vk_query_pool_create() argument
59 vk_query_pool_init(device, query_pool, pCreateInfo); in vk_query_pool_create()
Dvk_descriptor_update_template.c33 const VkDescriptorUpdateTemplateCreateInfo *pCreateInfo, in vk_common_CreateDescriptorUpdateTemplate() argument
41 for (uint32_t i = 0; i < pCreateInfo->descriptorUpdateEntryCount; i++) { in vk_common_CreateDescriptorUpdateTemplate()
42 if (pCreateInfo->pDescriptorUpdateEntries[i].descriptorCount > 0) in vk_common_CreateDescriptorUpdateTemplate()
52 template->type = pCreateInfo->templateType; in vk_common_CreateDescriptorUpdateTemplate()
53 template->bind_point = pCreateInfo->pipelineBindPoint; in vk_common_CreateDescriptorUpdateTemplate()
56 template->set = pCreateInfo->set; in vk_common_CreateDescriptorUpdateTemplate()
60 for (uint32_t i = 0; i < pCreateInfo->descriptorUpdateEntryCount; i++) { in vk_common_CreateDescriptorUpdateTemplate()
62 &pCreateInfo->pDescriptorUpdateEntries[i]; in vk_common_CreateDescriptorUpdateTemplate()
Dvk_acceleration_structure.c49 const VkAccelerationStructureCreateInfoKHR *pCreateInfo, in vk_common_CreateAccelerationStructureKHR() argument
62 accel_struct->buffer = pCreateInfo->buffer; in vk_common_CreateAccelerationStructureKHR()
63 accel_struct->offset = pCreateInfo->offset; in vk_common_CreateAccelerationStructureKHR()
64 accel_struct->size = pCreateInfo->size; in vk_common_CreateAccelerationStructureKHR()
66 if (pCreateInfo->deviceAddress && in vk_common_CreateAccelerationStructureKHR()
67 vk_acceleration_structure_get_va(accel_struct) != pCreateInfo->deviceAddress) in vk_common_CreateAccelerationStructureKHR()
Dvk_shader_module.c50 const VkShaderModuleCreateInfo *pCreateInfo, in vk_common_CreateShaderModule() argument
57 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO); in vk_common_CreateShaderModule()
58 assert(pCreateInfo->flags == 0); in vk_common_CreateShaderModule()
61 sizeof(*module) + pCreateInfo->codeSize, 8, in vk_common_CreateShaderModule()
66 vk_shader_module_init(device, module, pCreateInfo); in vk_common_CreateShaderModule()
87 const VkShaderModuleCreateInfo *pCreateInfo, in vk_common_GetShaderModuleCreateInfoIdentifierEXT() argument
90 _mesa_blake3_compute(pCreateInfo->pCode, pCreateInfo->codeSize, in vk_common_GetShaderModuleCreateInfoIdentifierEXT()
Dvk_render_pass.c66 const VkRenderPassCreateInfo *pCreateInfo, in vk_common_CreateRenderPass() argument
73 for (uint32_t i = 0; i < pCreateInfo->subpassCount; i++) { in vk_common_CreateRenderPass()
74 reference_count += pCreateInfo->pSubpasses[i].inputAttachmentCount; in vk_common_CreateRenderPass()
75 reference_count += pCreateInfo->pSubpasses[i].colorAttachmentCount; in vk_common_CreateRenderPass()
76 if (pCreateInfo->pSubpasses[i].pResolveAttachments) in vk_common_CreateRenderPass()
77 reference_count += pCreateInfo->pSubpasses[i].colorAttachmentCount; in vk_common_CreateRenderPass()
78 if (pCreateInfo->pSubpasses[i].pDepthStencilAttachment) in vk_common_CreateRenderPass()
85 pCreateInfo->subpassCount); in vk_common_CreateRenderPass()
87 pCreateInfo->attachmentCount); in vk_common_CreateRenderPass()
89 pCreateInfo->dependencyCount); in vk_common_CreateRenderPass()
[all …]
Dvk_query_pool.h50 const VkQueryPoolCreateInfo *pCreateInfo);
53 const VkQueryPoolCreateInfo *pCreateInfo,
Dvk_debug_report.c47 const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, in VK_DEFINE_NONDISP_HANDLE_CASTS()
64 cb->flags = pCreateInfo->flags; in VK_DEFINE_NONDISP_HANDLE_CASTS()
65 cb->callback = pCreateInfo->pfnCallback; in VK_DEFINE_NONDISP_HANDLE_CASTS()
66 cb->data = pCreateInfo->pUserData; in VK_DEFINE_NONDISP_HANDLE_CASTS()
/hardware/google/gfxstream/host/vulkan/testing/
DVkDecoderTestDispatch.h111 VkResult vkCreateBuffer(VkDevice device, const VkBufferCreateInfo* pCreateInfo, in vkCreateBuffer() argument
113 return mDgs->on_vkCreateBuffer(mBp, device, pCreateInfo, pAllocator, pBuffer); in vkCreateBuffer()
116 VkResult vkCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, in vkCreateCommandPool() argument
119 return mDgs->on_vkCreateCommandPool(mBp, device, pCreateInfo, pAllocator, pCommandPool); in vkCreateCommandPool()
123 const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, in vkCreateDebugUtilsMessengerEXT() argument
130 return func(instance, pCreateInfo, pAllocator, pDebugMessenger); in vkCreateDebugUtilsMessengerEXT()
136 VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, in vkCreateDevice() argument
138 return mDgs->on_vkCreateDevice(mBp, physicalDevice, pCreateInfo, pAllocator, pDevice); in vkCreateDevice()
141 VkResult vkCreateImage(VkDevice device, const VkImageCreateInfo* pCreateInfo, in vkCreateImage() argument
143 mDgs->transformImpl_VkImageCreateInfo_tohost(pCreateInfo, 1); in vkCreateImage()
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_drm.c311 const VkSwapchainCreateInfoKHR *pCreateInfo, in wsi_configure_native_image() argument
322 VkResult result = wsi_configure_image(chain, pCreateInfo, handle_type, info); in wsi_configure_native_image()
340 pCreateInfo->imageFormat, in wsi_configure_native_image()
353 pCreateInfo->imageFormat, in wsi_configure_native_image()
364 .sharingMode = pCreateInfo->imageSharingMode, in wsi_configure_native_image()
365 .queueFamilyIndexCount = pCreateInfo->queueFamilyIndexCount, in wsi_configure_native_image()
366 .pQueueFamilyIndices = pCreateInfo->pQueueFamilyIndices, in wsi_configure_native_image()
370 .format = pCreateInfo->imageFormat, in wsi_configure_native_image()
373 .usage = pCreateInfo->imageUsage, in wsi_configure_native_image()
399 pCreateInfo->imageExtent.width <= format_props.imageFormatProperties.maxExtent.width && in wsi_configure_native_image()
[all …]
Dwsi_common.c347 const VkSwapchainCreateInfoKHR *pCreateInfo, in configure_image() argument
355 return wsi_configure_cpu_image(chain, pCreateInfo, cpu_params, info); in configure_image()
361 return wsi_drm_configure_image(chain, pCreateInfo, drm_params, info); in configure_image()
368 return wsi_dxgi_configure_image(chain, pCreateInfo, dxgi_params, info); in configure_image()
406 const VkSwapchainCreateInfoKHR *pCreateInfo, in wsi_swapchain_init() argument
453 result = configure_image(chain, pCreateInfo, image_params, in wsi_swapchain_init()
467 const VkSwapchainCreateInfoKHR *pCreateInfo, in wsi_swapchain_is_present_mode_supported() argument
470 ICD_FROM_HANDLE(VkIcdSurfaceBase, surface, pCreateInfo->surface); in wsi_swapchain_is_present_mode_supported()
504 const VkSwapchainCreateInfoKHR *pCreateInfo) in wsi_swapchain_get_present_mode() argument
507 return pCreateInfo->presentMode; in wsi_swapchain_get_present_mode()
[all …]
Dwsi_common_private.h215 const VkSwapchainCreateInfoKHR *pCreateInfo,
221 const VkSwapchainCreateInfoKHR *pCreateInfo);
245 const VkSwapchainCreateInfoKHR *pCreateInfo,
251 const VkSwapchainCreateInfoKHR *pCreateInfo,
261 const VkSwapchainCreateInfoKHR *pCreateInfo,
279 const VkSwapchainCreateInfoKHR *pCreateInfo,
289 const VkSwapchainCreateInfoKHR *pCreateInfo,
353 const VkSwapchainCreateInfoKHR* pCreateInfo,
/hardware/google/gfxstream/guest/vulkan/
Dgfxstream_vk_device.cpp299 VkResult gfxstream_vk_CreateInstance(const VkInstanceCreateInfo* pCreateInfo, in gfxstream_vk_CreateInstance() argument
321 uint32_t initialEnabledExtensionCount = pCreateInfo->enabledExtensionCount; in gfxstream_vk_CreateInstance()
322 const char* const* initialPpEnabledExtensionNames = pCreateInfo->ppEnabledExtensionNames; in gfxstream_vk_CreateInstance()
324 pCreateInfo->enabledExtensionCount, pCreateInfo->ppEnabledExtensionNames); in gfxstream_vk_CreateInstance()
326 VkInstanceCreateInfo* mutableCreateInfo = (VkInstanceCreateInfo*)pCreateInfo; in gfxstream_vk_CreateInstance()
331 result = vkEnc->vkCreateInstance(pCreateInfo, nullptr, &instance->internal_object, in gfxstream_vk_CreateInstance()
350 pCreateInfo, pAllocator); in gfxstream_vk_CreateInstance()
417 const VkDeviceCreateInfo* pCreateInfo, in gfxstream_vk_CreateDevice() argument
433 …tenance1FeaturesEXT*)vk_find_struct<VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT>(pCreateInfo); in gfxstream_vk_CreateDevice()
444 uint32_t initialEnabledExtensionCount = pCreateInfo->enabledExtensionCount; in gfxstream_vk_CreateDevice()
[all …]
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkan_macos.h34 …cOSSurfaceMVK)(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAlloca…
39 const VkMacOSSurfaceCreateInfoMVK* pCreateInfo,
Dvulkan_ios.h34 …teIOSSurfaceMVK)(VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAlloca…
39 const VkIOSSurfaceCreateInfoMVK* pCreateInfo,
Dvulkan_vi.h34 …CreateViSurfaceNN)(VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAlloca…
39 const VkViSurfaceCreateInfoNN* pCreateInfo,
/hardware/google/gfxstream/guest/mesa/include/vulkan/
Dvulkan_macos.h34 …cOSSurfaceMVK)(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAlloca…
39 const VkMacOSSurfaceCreateInfoMVK* pCreateInfo,
Dvulkan_vi.h34 …CreateViSurfaceNN)(VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAlloca…
39 const VkViSurfaceCreateInfoNN* pCreateInfo,
Dvulkan_ios.h34 …teIOSSurfaceMVK)(VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAlloca…
39 const VkIOSSurfaceCreateInfoMVK* pCreateInfo,

1234567