Home
last modified time | relevance | path

Searched refs:create_info (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/
Dmemory.txt5 dEQP-VK.memory.requirements.create_info.buffer.regular
6 dEQP-VK.memory.requirements.create_info.buffer.sparse
7 dEQP-VK.memory.requirements.create_info.buffer.sparse_residency
8 dEQP-VK.memory.requirements.create_info.buffer.sparse_aliased
9 dEQP-VK.memory.requirements.create_info.buffer.sparse_residency_aliased
10 dEQP-VK.memory.requirements.create_info.image.regular_tiling_linear
11 dEQP-VK.memory.requirements.create_info.image.regular_tiling_optimal
12 dEQP-VK.memory.requirements.create_info.image.transient_tiling_linear
13 dEQP-VK.memory.requirements.create_info.image.transient_tiling_optimal
14 dEQP-VK.memory.requirements.create_info.image.sparse_tiling_linear
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_pipeline.c54 } create_info; member
116 builder->create_info.gfx ? in panvk_pipeline_builder_compile_shaders()
117 builder->create_info.gfx->pStages : in panvk_pipeline_builder_compile_shaders()
118 &builder->create_info.compute->stage; in panvk_pipeline_builder_compile_shaders()
120 builder->create_info.gfx ? builder->create_info.gfx->stageCount : 1; in panvk_pipeline_builder_compile_shaders()
223 if (builder->create_info.gfx && in panvk_pipeline_builder_alloc_static_state_bo()
266 builder->create_info.gfx->pInputAssemblyState->topology; in panvk_pipeline_builder_init_shaders()
298 if (builder->create_info.gfx && !pipeline->fs.dynamic_rsd) { in panvk_pipeline_builder_init_shaders()
310 } else if (builder->create_info.gfx) { in panvk_pipeline_builder_init_shaders()
338 panvk_per_arch(emit_viewport)(builder->create_info.gfx->pViewportState->pViewports, in panvk_pipeline_builder_parse_viewport()
[all …]
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_job_render.c163 const struct pvr_winsys_rt_dataset_create_info *create_info, in pvr_srv_render_target_dataset_create() argument
167 [0] = create_info->rt_datas[0].macrotile_array_dev_addr, in pvr_srv_render_target_dataset_create()
168 [1] = create_info->rt_datas[1].macrotile_array_dev_addr, in pvr_srv_render_target_dataset_create()
171 [0] = create_info->rt_datas[0].pm_mlist_dev_addr, in pvr_srv_render_target_dataset_create()
172 [1] = create_info->rt_datas[1].pm_mlist_dev_addr, in pvr_srv_render_target_dataset_create()
175 [0] = create_info->rt_datas[0].rgn_header_dev_addr, in pvr_srv_render_target_dataset_create()
176 [1] = create_info->rt_datas[1].rgn_header_dev_addr, in pvr_srv_render_target_dataset_create()
181 to_pvr_srv_winsys_free_list(create_info->local_free_list); in pvr_srv_render_target_dataset_create()
210 create_info->ppp_multi_sample_ctl_y_flipped, in pvr_srv_render_target_dataset_create()
211 create_info->ppp_multi_sample_ctl, in pvr_srv_render_target_dataset_create()
[all …]
Dpvr_srv_job_compute.c58 const struct pvr_winsys_compute_ctx_create_info *create_info, in pvr_srv_winsys_compute_ctx_create() argument
63 .cdm_context_pds0 = create_info->static_state.cdm_ctx_store_pds0, in pvr_srv_winsys_compute_ctx_create()
65 create_info->static_state.cdm_ctx_store_pds0_b, in pvr_srv_winsys_compute_ctx_create()
66 .cdm_context_pds1 = create_info->static_state.cdm_ctx_store_pds1, in pvr_srv_winsys_compute_ctx_create()
68 .cdm_terminate_pds = create_info->static_state.cdm_ctx_terminate_pds, in pvr_srv_winsys_compute_ctx_create()
70 create_info->static_state.cdm_ctx_terminate_pds1, in pvr_srv_winsys_compute_ctx_create()
72 .cdm_resume_pds0 = create_info->static_state.cdm_ctx_resume_pds0, in pvr_srv_winsys_compute_ctx_create()
73 .cdm_resume_pds0_b = create_info->static_state.cdm_ctx_resume_pds0_b, in pvr_srv_winsys_compute_ctx_create()
99 pvr_srv_from_winsys_priority(create_info->priority), in pvr_srv_winsys_compute_ctx_create()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkutils.c436 return view->create_info.image == info->image in find_compatible_view()
437 && view->create_info.format == info->format in find_compatible_view()
438 && view->create_info.viewType == info->viewType in find_compatible_view()
439 && view->create_info.flags == info->flags in find_compatible_view()
440 && view->create_info.components.r == info->components.r in find_compatible_view()
441 && view->create_info.components.g == info->components.g in find_compatible_view()
442 && view->create_info.components.b == info->components.b in find_compatible_view()
443 && view->create_info.components.a == info->components.a in find_compatible_view()
444 && view->create_info.subresourceRange.aspectMask == in find_compatible_view()
446 && view->create_info.subresourceRange.baseMipLevel == in find_compatible_view()
[all …]
Dgstvkimageview.c99 VkImageViewCreateInfo * create_info) in gst_vulkan_image_view_new() argument
105 g_return_val_if_fail (create_info != NULL, NULL); in gst_vulkan_image_view_new()
119 vkCreateImageView (image->device->device, create_info, NULL, &view->view); in gst_vulkan_image_view_new()
126 view->create_info = *create_info; in gst_vulkan_image_view_new()
128 view->create_info.pNext = NULL; in gst_vulkan_image_view_new()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_buffer.c72 vn_buffer_create_info_can_be_cached(const VkBufferCreateInfo *create_info) in vn_buffer_create_info_can_be_cached() argument
75 return (create_info->pNext == NULL) && in vn_buffer_create_info_can_be_cached()
76 (create_info->sharingMode == VK_SHARING_MODE_EXCLUSIVE); in vn_buffer_create_info_can_be_cached()
133 entries[i].create_info = &cache_infos[i]; in vn_buffer_cache_entries_create()
163 VkBufferCreateInfo create_info = { in vn_buffer_get_max_buffer_size() local
184 create_info.size = 1ull << mid; in vn_buffer_get_max_buffer_size()
185 if (vn_CreateBuffer(dev_handle, &create_info, alloc, &buf_handle) == in vn_buffer_get_max_buffer_size()
188 max_buffer_size = create_info.size; in vn_buffer_get_max_buffer_size()
240 const VkBufferCreateInfo *create_info, in vn_buffer_cache_get_memory_requirements() argument
246 if (create_info->size > cache->max_buffer_size) in vn_buffer_cache_get_memory_requirements()
[all …]
Dvn_wsi.h27 vn_wsi_find_wsi_image_create_info(const VkImageCreateInfo *create_info) in vn_wsi_find_wsi_image_create_info() argument
29 return vk_find_struct_const(create_info->pNext, in vn_wsi_find_wsi_image_create_info()
35 const VkImageCreateInfo *create_info,
43 const VkImageCreateInfo *create_info,
62 vn_wsi_find_wsi_image_create_info(const VkImageCreateInfo *create_info) in vn_wsi_find_wsi_image_create_info() argument
69 const VkImageCreateInfo *create_info, in vn_wsi_create_image() argument
80 const VkImageCreateInfo *create_info, in vn_wsi_create_image_from_swapchain() argument
Dvn_wsi.c108 const VkImageCreateInfo *create_info, in vn_wsi_create_image() argument
125 .pNext = create_info->pNext, in vn_wsi_create_image()
132 create_info->pNext, IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT)); in vn_wsi_create_image()
134 local_create_info = *create_info; in vn_wsi_create_image()
137 create_info = &local_create_info; in vn_wsi_create_image()
144 VkResult result = vn_image_create(dev, create_info, alloc, &img); in vn_wsi_create_image()
150 img->wsi.tiling_override = create_info->tiling; in vn_wsi_create_image()
152 if (create_info->tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) { in vn_wsi_create_image()
176 const VkImageCreateInfo *create_info, in vn_wsi_create_image_from_swapchain() argument
186 VkImageCreateInfo local_create_info = *create_info; in vn_wsi_create_image_from_swapchain()
[all …]
Dvn_device.c78 const VkDeviceCreateInfo *create_info) in vn_device_init_queues() argument
83 for (uint32_t i = 0; i < create_info->queueCreateInfoCount; i++) in vn_device_init_queues()
84 count += create_info->pQueueCreateInfos[i].queueCount; in vn_device_init_queues()
93 for (uint32_t i = 0; i < create_info->queueCreateInfoCount; i++) { in vn_device_init_queues()
97 &create_info->pQueueCreateInfos[i]; in vn_device_init_queues()
120 const VkDeviceCreateInfo *create_info) in vn_device_queue_family_init() argument
127 alloc, sizeof(*queue_families) * create_info->queueCreateInfoCount, in vn_device_queue_family_init()
132 for (uint32_t i = 0; i < create_info->queueCreateInfoCount; i++) { in vn_device_queue_family_init()
134 create_info->pQueueCreateInfos[i].queueFamilyIndex; in vn_device_queue_family_init()
344 const VkDeviceCreateInfo *create_info, in vn_device_init() argument
[all …]
Dvn_render_pass.c56 vn_render_pass_count_present_src(const VkRenderPassCreateInfo *create_info, in vn_render_pass_count_present_src() argument
60 COUNT_PRESENT_SRC(create_info->pAttachments, create_info->attachmentCount, in vn_render_pass_count_present_src()
65 vn_render_pass_count_present_src2(const VkRenderPassCreateInfo2 *create_info, in vn_render_pass_count_present_src2() argument
69 COUNT_PRESENT_SRC(create_info->pAttachments, create_info->attachmentCount, in vn_render_pass_count_present_src2()
75 const VkRenderPassCreateInfo *create_info, in vn_render_pass_replace_present_src() argument
78 REPLACE_PRESENT_SRC(pass, create_info->pAttachments, in vn_render_pass_replace_present_src()
79 create_info->attachmentCount, out_atts); in vn_render_pass_replace_present_src()
84 const VkRenderPassCreateInfo2 *create_info, in vn_render_pass_replace_present_src2() argument
87 REPLACE_PRESENT_SRC(pass, create_info->pAttachments, in vn_render_pass_replace_present_src2()
88 create_info->attachmentCount, out_atts); in vn_render_pass_replace_present_src2()
Dvn_android.h26 vn_android_find_native_buffer(const VkImageCreateInfo *create_info) in vn_android_find_native_buffer() argument
28 return vk_find_struct_const(create_info->pNext, NATIVE_BUFFER_ANDROID); in vn_android_find_native_buffer()
52 const VkImageCreateInfo *create_info,
78 const VkBufferCreateInfo *create_info,
92 vn_android_find_native_buffer(UNUSED const VkImageCreateInfo *create_info) in vn_android_find_native_buffer() argument
131 UNUSED const VkImageCreateInfo *create_info, in vn_android_image_from_ahb() argument
172 UNUSED const VkBufferCreateInfo *create_info, in vn_android_buffer_from_ahb() argument
Dvn_android.c467 const VkImageCreateInfo *create_info, in vn_android_get_image_builder() argument
483 create_info->pNext, in vn_android_get_image_builder()
485 assert(!vk_find_struct_const(create_info->pNext, in vn_android_get_image_builder()
492 dev, create_info->format, buf_props.modifier, alloc, &mod_props); in vn_android_get_image_builder()
498 out_builder->create = *create_info; in vn_android_get_image_builder()
529 if ((create_info->flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT) && in vn_android_get_image_builder()
530 !vk_find_struct_const(create_info->pNext, in vn_android_get_image_builder()
540 vn_android_format_to_view_formats(create_info->format, &vcount); in vn_android_get_image_builder()
560 const VkImageCreateInfo *create_info, in vn_android_image_from_anb() argument
592 assert(!(create_info->flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT)); in vn_android_image_from_anb()
[all …]
Dvn_image.c26 const VkImageCreateInfo *create_info) in vn_image_init_memory_requirements() argument
29 if (create_info->flags & VK_IMAGE_CREATE_DISJOINT_BIT) { in vn_image_init_memory_requirements()
31 assert(create_info->tiling != VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT); in vn_image_init_memory_requirements()
33 switch (create_info->format) { in vn_image_init_memory_requirements()
112 const VkImageCreateInfo *create_info, in vn_image_deferred_info_init() argument
123 info->create = *create_info; in vn_image_deferred_info_init()
126 vk_foreach_struct_const(src, create_info->pNext) { in vn_image_deferred_info_init()
162 assert(create_info->format != VK_FORMAT_UNDEFINED); in vn_image_deferred_info_init()
197 const VkImageCreateInfo *create_info, in vn_image_init() argument
204 img->sharing_mode = create_info->sharingMode; in vn_image_init()
[all …]
/third_party/vulkan-loader/tests/
Dloader_handle_validation_tests.cpp97 instance.create_info.add_extension("VK_KHR_surface"); in TEST()
116 instance.create_info.add_extension("VK_KHR_surface"); in TEST()
117 instance.create_info.add_extension("VK_EXT_headless_surface"); in TEST()
140 instance.create_info.add_extension("VK_KHR_surface"); in TEST()
141 instance.create_info.add_extension("VK_KHR_display"); in TEST()
469 instance.create_info.set_api_version(1, 1, 0); in TEST()
487 instance.create_info.set_api_version(1, 1, 0); in TEST()
505 instance.create_info.set_api_version(1, 1, 0); in TEST()
525 instance.create_info.set_api_version(1, 1, 0); in TEST()
543 instance.create_info.set_api_version(1, 1, 0); in TEST()
[all …]
Dloader_envvar_tests.cpp113 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
132 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
144 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
163 FillDebugUtilsCreateDetails(inst.create_info, log); in TEST()
190 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
212 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
223 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
283 inst1.create_info.add_layer(layer_name); in TEST()
284 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
297 inst2.create_info.add_layer(layer_name); in TEST()
[all …]
Dloader_wsi_tests.cpp43 inst.create_info.add_extensions({VK_KHR_WIN32_SURFACE_EXTENSION_NAME}); in TEST()
64 …inst.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_WIN32_SURFACE_EXTENSION_NAM… in TEST()
88 …inst.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_WIN32_SURFACE_EXTENSION_NAM… in TEST()
117 …instance.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_WIN32_SURFACE_EXTENSION… in TEST()
141 inst.create_info.add_extensions( in TEST()
169 …inst.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_WIN32_SURFACE_EXTENSION_NAM… in TEST()
198 …instance.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_WIN32_SURFACE_EXTENSION… in TEST()
232 inst.create_info.add_extensions({VK_KHR_XCB_SURFACE_EXTENSION_NAME}); in TEST()
253 …inst.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_XCB_SURFACE_EXTENSION_NAME}… in TEST()
277 …inst.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_XCB_SURFACE_EXTENSION_NAME}… in TEST()
[all …]
Dloader_layer_tests.cpp33 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in CheckLogForLayerString()
123 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
124 inst.create_info.add_layer(implicit_layer_name); in TEST()
327 inst.create_info.add_layer(meta_layer_name); in TEST()
328 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
381 inst.create_info.add_layer(meta_layer_name); in TEST()
435 inst.create_info.add_layer(meta_layer_name); in TEST()
436 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
484 inst.create_info.add_layer(meta_layer_name); in TEST()
485 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
[all …]
Dloader_regression_tests.cpp79 …inst.create_info.add_extension("VK_EXT_validation_features"); // test icd won't report this as su… in TEST()
84 inst.create_info.add_extension("Non_existant_extension"); // unknown instance extension in TEST()
93 inst.create_info.add_layer("VK_NON_EXISTANT_LAYER"); in TEST()
108 inst.create_info.add_layer(layer_name); in TEST()
307 inst.create_info.add_layer(layer_name); in TEST()
396 inst.create_info.set_api_version(VK_MAKE_API_VERSION(0, 1, 1, 0)); in TEST()
546 inst.create_info.set_api_version(VK_MAKE_API_VERSION(0, 1, 1, 0)); in TEST()
559 inst.create_info.set_api_version(VK_API_VERSION_1_1); in TEST()
932 …dev.create_info.add_extension("NotPresent").add_device_queue(DeviceQueueCreateInfo{}.add_priority(… in TEST()
965 …dev.create_info.add_layer("NotPresent").add_device_queue(DeviceQueueCreateInfo{}.add_priority(0.0f… in TEST()
[all …]
/third_party/vulkan-loader/tests/framework/
Dtest_environment.cpp42 create_info = other.create_info; in InstWrapper()
50 create_info = other.create_info; in operator =()
56 ASSERT_EQ(result_to_check, functions->vkCreateInstance(create_info.get(), callbacks, &inst)); in CheckCreate()
108 create_info = other.create_info; in DeviceWrapper()
116 create_info = other.create_info; in operator =()
122 …ASSERT_EQ(result_to_check, functions->vkCreateDevice(phys_dev, create_info.get(), callbacks, &dev)… in CheckCreate()
130 void FillDebugUtilsCreateDetails(InstanceCreateInfo& create_info, DebugUtilsLogger& logger) { in FillDebugUtilsCreateDetails() argument
131 create_info.add_extension("VK_EXT_debug_utils"); in FillDebugUtilsCreateDetails()
132 create_info.instance_info.pNext = logger.get(); in FillDebugUtilsCreateDetails()
134 void FillDebugUtilsCreateDetails(InstanceCreateInfo& create_info, DebugUtilsWrapper& wrapper) { in FillDebugUtilsCreateDetails() argument
[all …]
Dtest_environment.h151 InstanceCreateInfo create_info{};
180 DeviceCreateInfo create_info{};
198 create_info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT;
199 create_info.pNext = nullptr;
200 create_info.messageSeverity = severity;
201create_info.messageType = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT | VK_DEBUG_UTILS_MESSAGE_TYP…
203 create_info.pfnUserCallback = DebugUtilsMessengerLoggerCallback;
204 create_info.pUserData = this;
216 VkDebugUtilsMessengerCreateInfoEXT* get() noexcept { return &create_info; } in get()
217 VkDebugUtilsMessengerCreateInfoEXT create_info{};
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_glfw_vulkan/
Dmain.cpp72 VkInstanceCreateInfo create_info = {}; in SetupVulkan() local
73 create_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO; in SetupVulkan()
74 create_info.enabledExtensionCount = extensions_count; in SetupVulkan()
75 create_info.ppEnabledExtensionNames = extensions; in SetupVulkan()
79 create_info.enabledLayerCount = 1; in SetupVulkan()
80 create_info.ppEnabledLayerNames = layers; in SetupVulkan()
86 create_info.enabledExtensionCount = extensions_count + 1; in SetupVulkan()
87 create_info.ppEnabledExtensionNames = extensions_ext; in SetupVulkan()
90 err = vkCreateInstance(&create_info, g_Allocator, &g_Instance); in SetupVulkan()
108 err = vkCreateInstance(&create_info, g_Allocator, &g_Instance); in SetupVulkan()
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_sdl_vulkan/
Dmain.cpp64 VkInstanceCreateInfo create_info = {}; in SetupVulkan() local
65 create_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO; in SetupVulkan()
66 create_info.enabledExtensionCount = extensions_count; in SetupVulkan()
67 create_info.ppEnabledExtensionNames = extensions; in SetupVulkan()
71 create_info.enabledLayerCount = 1; in SetupVulkan()
72 create_info.ppEnabledLayerNames = layers; in SetupVulkan()
78 create_info.enabledExtensionCount = extensions_count + 1; in SetupVulkan()
79 create_info.ppEnabledExtensionNames = extensions_ext; in SetupVulkan()
82 err = vkCreateInstance(&create_info, g_Allocator, &g_Instance); in SetupVulkan()
100 err = vkCreateInstance(&create_info, g_Allocator, &g_Instance); in SetupVulkan()
[all …]
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_shader.c57 const VkPipelineShaderStageCreateInfo *create_info) in pvr_spirv_to_nir() argument
59 VK_FROM_HANDLE(vk_shader_module, module, create_info->module); in pvr_spirv_to_nir()
65 vk_spec_info_to_nir_spirv(create_info->pSpecializationInfo, &num_spec); in pvr_spirv_to_nir()
69 create_info->pName, in pvr_spirv_to_nir()
Dpvr_job_render.c932 struct pvr_winsys_rt_dataset_create_info *create_info) in pvr_rt_dataset_ws_create_info_init() argument
937 memset(create_info, 0, sizeof(*create_info)); in pvr_rt_dataset_ws_create_info_init()
940 create_info->local_free_list = rt_dataset->local_free_list->ws_free_list; in pvr_rt_dataset_ws_create_info_init()
950 create_info->isp_merge_lower_x = fui(value); in pvr_rt_dataset_ws_create_info_init()
954 create_info->isp_merge_upper_x = fui(value); in pvr_rt_dataset_ws_create_info_init()
960 create_info->isp_merge_lower_y = fui(value); in pvr_rt_dataset_ws_create_info_init()
964 create_info->isp_merge_upper_y = fui(value); in pvr_rt_dataset_ws_create_info_init()
970 create_info->isp_merge_scale_x = fui(value); in pvr_rt_dataset_ws_create_info_init()
975 create_info->isp_merge_scale_y = fui(value); in pvr_rt_dataset_ws_create_info_init()
978 create_info->isp_mtile_size = in pvr_rt_dataset_ws_create_info_init()
[all …]

1234