Home
last modified time | relevance | path

Searched refs:VKSCR (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_kopper.c87 error = VKSCR(CreateXcbSurfaceKHR)(screen->instance, &cdt->info.xcb, NULL, &surface); in kopper_CreateSurface()
92 error = VKSCR(CreateWaylandSurfaceKHR)(screen->instance, &cdt->info.wl, NULL, &surface); in kopper_CreateSurface()
97 error = VKSCR(CreateWin32SurfaceKHR)(screen->instance, &cdt->info.win32, NULL, &surface); in kopper_CreateSurface()
108 …error = VKSCR(GetPhysicalDeviceSurfaceSupportKHR)(screen->pdev, screen->gfx_queue, surface, &suppo… in kopper_CreateSurface()
114 error = VKSCR(GetPhysicalDeviceSurfacePresentModesKHR)(screen->pdev, surface, &count, modes); in kopper_CreateSurface()
131 VKSCR(DestroySurfaceKHR)(screen->instance, surface, NULL); in kopper_CreateSurface()
141 VKSCR(DestroySemaphore)(screen->dev, cswap->images[i].acquire, NULL); in destroy_swapchain()
147 VKSCR(DestroySemaphore)(screen->dev, util_dynarray_pop(arr, VkSemaphore), NULL); in destroy_swapchain()
152 VKSCR(DestroySwapchainKHR)(screen->dev, cswap->swapchain, NULL); in destroy_swapchain()
211 VKSCR(DestroySurfaceKHR)(screen->instance, cdt->surface, NULL); in zink_kopper_deinit_displaytarget()
[all …]
Dzink_batch.c34 VkResult result = VKSCR(ResetCommandPool)(screen->dev, bs->cmdpool, 0); in zink_reset_batch_state()
79 VKSCR(DestroySampler)(screen->dev, *samp, NULL); in zink_reset_batch_state()
95VKSCR(DestroySemaphore)(screen->dev, util_dynarray_pop(&bs->wait_semaphores, VkSemaphore), NULL); in zink_reset_batch_state()
100 VKSCR(DestroySemaphore)(screen->dev, util_dynarray_pop(&bs->acquires, VkSemaphore), NULL); in zink_reset_batch_state()
104VKSCR(DestroyImageView)(screen->dev, util_dynarray_pop(&bs->dead_swapchains, VkImageView), NULL); in zink_reset_batch_state()
170 VKSCR(FreeCommandBuffers)(screen->dev, bs->cmdpool, 1, &bs->cmdbuf); in zink_batch_state_destroy()
172 VKSCR(FreeCommandBuffers)(screen->dev, bs->cmdpool, 1, &bs->barrier_cmdbuf); in zink_batch_state_destroy()
174 VKSCR(DestroyCommandPool)(screen->dev, bs->cmdpool, NULL); in zink_batch_state_destroy()
200 VkResult result = VKSCR(CreateCommandPool)(screen->dev, &cpci, NULL, &bs->cmdpool); in create_batch_state()
212 result = VKSCR(AllocateCommandBuffers)(screen->dev, &cbai, &bs->cmdbuf); in create_batch_state()
[all …]
Dzink_fence.c41 VKSCR(DestroySemaphore)(screen->dev, mfence->sem, NULL); in destroy_fence()
245 result = VKSCR(CreateSemaphore)(screen->dev, &sci, NULL, &mfence->sem); in zink_create_fence_fd()
268 result = VKSCR(ImportSemaphoreFdKHR)(screen->dev, &sdi); in zink_create_fence_fd()
280 VKSCR(DestroySemaphore)(screen->dev, mfence->sem, NULL); in zink_create_fence_fd()
308 if (VKSCR(CreateSemaphore)(screen->dev, &sci, NULL, &mfence->sem) != VK_SUCCESS) { in zink_create_fence_win32()
318 ret = VKSCR(ImportSemaphoreWin32HandleKHR)(screen->dev, &sdi); in zink_create_fence_win32()
326 VKSCR(DestroySemaphore)(screen->dev, mfence->sem, NULL); in zink_create_fence_win32()
Dzink_screen.c220 VkResult result = VKSCR(GetPipelineCacheData)(screen->dev, pg->pipeline_cache, &size, NULL); in cache_put_job()
230 result = VKSCR(GetPipelineCacheData)(screen->dev, pg->pipeline_cache, &size, pipeline_data); in cache_put_job()
269 VkResult res = VKSCR(CreatePipelineCache)(screen->dev, &pcci, NULL, &pg->pipeline_cache); in cache_get_job()
1266VKSCR(DestroyDebugUtilsMessengerEXT)(screen->instance, screen->debugUtilsCallbackHandle, NULL); in zink_destroy_screen()
1286 VKSCR(DestroySemaphore)(screen->dev, screen->sem, NULL); in zink_destroy_screen()
1289 VKSCR(DestroyFence)(screen->dev, screen->fence, NULL); in zink_destroy_screen()
1295 VKSCR(DestroyDevice)(screen->dev, NULL); in zink_destroy_screen()
1296 VKSCR(DestroyInstance)(screen->instance, NULL); in zink_destroy_screen()
1314 VkResult result = VKSCR(EnumeratePhysicalDevices)(screen->instance, &pdev_count, NULL); in choose_pdev()
1323 result = VKSCR(EnumeratePhysicalDevices)(screen->instance, &pdev_count, pdevs); in choose_pdev()
[all …]
Dzink_resource.c102 VKSCR(DestroyBuffer)(screen->dev, obj->buffer, NULL); in zink_destroy_resource_object()
103 VKSCR(DestroyBuffer)(screen->dev, obj->storage_buffer, NULL); in zink_destroy_resource_object()
107 VKSCR(DestroyImage)(screen->dev, obj->image, NULL); in zink_destroy_resource_object()
203 …(VKSCR(GetPhysicalDeviceImageFormatProperties2) && screen->info.have_EXT_image_drm_format_modifier… in check_ici()
204 if (VKSCR(GetPhysicalDeviceImageFormatProperties2)) { in check_ici()
233 ret = VKSCR(GetPhysicalDeviceImageFormatProperties2)(screen->pdev, &info, &props2); in check_ici()
239 ret = VKSCR(GetPhysicalDeviceImageFormatProperties)(screen->pdev, ici->format, ici->imageType, in check_ici()
618 if (VKSCR(CreateBuffer)(screen->dev, &bci, NULL, &obj->buffer) != VK_SUCCESS) { in resource_object_create()
625 if (VKSCR(CreateBuffer)(screen->dev, &bci, NULL, &obj->storage_buffer) != VK_SUCCESS) { in resource_object_create()
631 VKSCR(GetBufferMemoryRequirements)(screen->dev, obj->buffer, &reqs); in resource_object_create()
[all …]
Dzink_descriptors_lazy.c346 if (VKSCR(CreateDescriptorUpdateTemplate)(screen->dev, &template[i], NULL, &t) != VK_SUCCESS) in zink_descriptor_program_init_lazy()
363 VKSCR(DestroyDescriptorUpdateTemplate)(screen->dev, pg->dd->templates[i], NULL); in zink_descriptor_program_deinit_lazy()
379 VkResult result = VKSCR(CreateDescriptorPool)(screen->dev, &dpci, 0, &pool); in create_pool()
531VKSCR(UpdateDescriptorSetWithTemplate)(screen->dev, desc_sets[type], pg->dd->templates[type + 1], … in zink_descriptors_update_lazy_masked()
532 VKSCR(CmdBindDescriptorSets)(bs->cmdbuf, in zink_descriptors_update_lazy_masked()
544 VKSCR(CmdBindDescriptorSets)(bs->cmdbuf, in zink_descriptors_update_lazy_masked()
675 VKSCR(DestroyDescriptorPool)(screen->dev, pool->pool, NULL); in zink_batch_descriptor_deinit_lazy()
679 VKSCR(DestroyDescriptorPool)(screen->dev, bdd->push_pool[0]->pool, NULL); in zink_batch_descriptor_deinit_lazy()
681 VKSCR(DestroyDescriptorPool)(screen->dev, bdd->push_pool[1]->pool, NULL); in zink_batch_descriptor_deinit_lazy()
689 VKSCR(DestroyDescriptorPool)(screen->dev, pool->pool, NULL); in pool_destroy()
[all …]
Dzink_framebuffer.c41 VKSCR(DestroyFramebuffer)(screen->dev, he->data, NULL); in zink_destroy_framebuffer()
44 VKSCR(DestroyFramebuffer)(screen->dev, *ptr, NULL); in zink_destroy_framebuffer()
91 if (VKSCR(CreateFramebuffer)(screen->dev, &fci, NULL, &ret) != VK_SUCCESS) in zink_init_framebuffer()
98 VKSCR(DestroyFramebuffer)(screen->dev, ret, NULL); in zink_init_framebuffer()
Dzink_surface.c183 VkResult result = VKSCR(CreateImageView)(screen->dev, ivci, NULL, in create_surface()
322 VKSCR(DestroyImageView)(screen->dev, surface->simage_view, NULL); in zink_destroy_surface()
325 VKSCR(DestroyImageView)(screen->dev, surface->old_swapchain[i], NULL); in zink_destroy_surface()
327 VKSCR(DestroyImageView)(screen->dev, surface->swapchain[i], NULL); in zink_destroy_surface()
330 VKSCR(DestroyImageView)(screen->dev, surface->image_view, NULL); in zink_destroy_surface()
375 VkResult result = VKSCR(CreateImageView)(screen->dev, &ivci, NULL, &image_view); in zink_rebind_surface()
457VKSCR(CreateImageView)(screen->dev, &surface->ivci, NULL, &surface->swapchain[res->obj->dt_idx]); in zink_surface_swapchain_update()
Dzink_bo.c149 VKSCR(FreeMemory)(screen->dev, bo->mem, NULL); in bo_destroy()
286 VkResult ret = VKSCR(AllocateMemory)(screen->dev, &mai, NULL, &bo->mem); in bo_create_internal()
684 VkResult result = VKSCR(MapMemory)(screen->dev, real->mem, 0, real->base.size, 0, &cpu); in zink_bo_map()
708 VKSCR(UnmapMemory)(screen->dev, real->mem); in zink_bo_unmap()
721 VkResult ret = VKSCR(CreateSemaphore)(screen->dev, &sci, NULL, &sem); in get_semaphore()
753 VkResult ret = VKSCR(QueueBindSparse)(screen->queue_sparse, 1, &sparse, VK_NULL_HANDLE); in buffer_commit_single()
756 VKSCR(DestroySemaphore)(screen->dev, sem, NULL); in buffer_commit_single()
892 VkResult ret = VKSCR(QueueBindSparse)(screen->queue_sparse, 1, &sparse, VK_NULL_HANDLE); in texture_commit_single()
895 VKSCR(DestroySemaphore)(screen->dev, sem, NULL); in texture_commit_single()
924 VkResult ret = VKSCR(QueueBindSparse)(screen->queue_sparse, 1, &sparse, VK_NULL_HANDLE); in texture_commit_miptail()
[all …]
Dzink_descriptors.c276 VKSCR(DestroyDescriptorPool)(screen->dev, pool->descpool, NULL); in descriptor_pool_free()
335 VkResult result = VKSCR(CreateDescriptorPool)(screen->dev, &dpci, 0, &pool->descpool); in descriptor_pool_create()
373 if (VKSCR(GetDescriptorSetLayoutSupport)) { in descriptor_layout_create()
374 VKSCR(GetDescriptorSetLayoutSupport)(screen->dev, &dcslci, &supp); in descriptor_layout_create()
380 VkResult result = VKSCR(CreateDescriptorSetLayout)(screen->dev, &dcslci, 0, &dsl); in descriptor_layout_create()
425 VKSCR(DestroyDescriptorSetLayout)(screen->dev, dsl, NULL); in create_layout()
630 VkResult result = VKSCR(AllocateDescriptorSets)(screen->dev, &dsai, sets); in zink_descriptor_util_alloc_sets()
1337 VKSCR(UpdateDescriptorSets)(screen->dev, num_stages + !!fbfetch, wds, 0, NULL); in update_push_ubo_descriptors()
1462 VKSCR(UpdateDescriptorSets)(screen->dev, num_wds, wds, 0, NULL); in update_descriptors_internal()
1892 VKSCR(DestroyDescriptorSetLayout)(screen->dev, layout->layout, NULL); in zink_descriptor_layouts_deinit()
[all …]
Dzink_program.c174 VKSCR(DestroyShaderModule)(screen->dev, zm->shader, NULL); in zink_destroy_shader_module()
392 VkResult result = VKSCR(CreatePipelineLayout)(screen->dev, &plci, NULL, &layout); in zink_pipeline_layout_create()
689 VKSCR(DestroyPipelineLayout)(screen->dev, prog->base.layout, NULL); in zink_destroy_gfx_program()
719 VKSCR(DestroyPipeline)(screen->dev, pc_entry->pipeline, NULL); in zink_destroy_gfx_program()
724 VKSCR(DestroyPipelineCache)(screen->dev, prog->base.pipeline_cache, NULL); in zink_destroy_gfx_program()
737 VKSCR(DestroyPipelineLayout)(screen->dev, comp->base.layout, NULL); in zink_destroy_compute_program()
747 VKSCR(DestroyPipeline)(screen->dev, pc_entry->pipeline, NULL); in zink_destroy_compute_program()
751 VKSCR(DestroyShaderModule)(screen->dev, comp->module->shader, NULL); in zink_destroy_compute_program()
754 VKSCR(DestroyPipelineCache)(screen->dev, comp->base.pipeline_cache, NULL); in zink_destroy_compute_program()
Dzink_pipeline.c379 VkResult result = VKSCR(CreateGraphicsPipelines)(screen->dev, prog->base.pipeline_cache, in zink_create_gfx_pipeline()
421 VkResult result = VKSCR(CreateComputePipelines)(screen->dev, comp->base.pipeline_cache, in zink_create_compute_pipeline()
Dzink_screen.h293 #define VKSCR(fn) screen->vk.fn macro
Dzink_query.c140 VKSCR(DestroyQueryPool)(screen->dev, pool->query_pool, NULL); in zink_context_destroy_query_pools()
175 VkResult status = VKSCR(CreateQueryPool)(screen->dev, &pool_create, NULL, &new_pool->query_pool); in find_or_allocate_qp()
1318 … VkResult result = VKSCR(GetCalibratedTimestampsEXT)(screen->dev, 1, &cti, &timestamp, &deviation); in zink_get_timestamp()
Dzink_draw.cpp145 VKSCR(CmdBindVertexBuffers)(batch->state->cmdbuf, 0, in zink_bind_vertex_buffers()
520 VKSCR(CmdPipelineBarrier)(ctx->batch.state->cmdbuf, in zink_draw()
956 VKSCR(CmdPipelineBarrier)(ctx->batch.state->cmdbuf, in zink_launch_grid()
Dzink_render_pass.c224 VkResult result = VKSCR(CreateRenderPass2)(screen->dev, &rpci, NULL, &render_pass); in create_render_pass2()
258 VKSCR(DestroyRenderPass)(screen->dev, rp->render_pass, NULL); in zink_destroy_render_pass()
Dzink_context.c102 VkResult result = VKSCR(QueueWaitIdle)(screen->queue); in zink_context_destroy()
457 VkResult result = VKSCR(CreateSampler)(screen->dev, &sci, NULL, &sampler->sampler); in zink_create_sampler_state()
465 result = VKSCR(CreateSampler)(screen->dev, &sci, NULL, &sampler->sampler_clamped); in zink_create_sampler_state()
468 VKSCR(DestroySampler)(screen->dev, sampler->sampler, NULL); in zink_create_sampler_state()
824 VkResult result = VKSCR(CreateBufferView)(screen->dev, bvci, NULL, &view); in get_buffer_view()
831 VKSCR(DestroyBufferView)(screen->dev, view, NULL); in get_buffer_view()
992 VKSCR(DestroyBufferView)(screen->dev, buffer_view->buffer_view, NULL); in zink_destroy_buffer_view()
Dzink_compiler.c2017 VkResult ret = VKSCR(CreateShaderModule)(screen->dev, &smci, NULL, &mod); in zink_shader_spirv_compile()