Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_batch.c33 if (VKSCR(ResetCommandPool)(screen->dev, bs->cmdpool, 0) != VK_SUCCESS) in zink_reset_batch_state()
77 VKSCR(DestroySampler)(screen->dev, *samp, NULL); in zink_reset_batch_state()
167 VKSCR(DestroyFence)(screen->dev, bs->fence.fence, NULL); in zink_batch_state_destroy()
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()
198 if (VKSCR(CreateCommandPool)(screen->dev, &cpci, NULL, &bs->cmdpool) != VK_SUCCESS) in create_batch_state()
207 if (VKSCR(AllocateCommandBuffers)(screen->dev, &cbai, &bs->cmdbuf) != VK_SUCCESS) in create_batch_state()
210 if (VKSCR(AllocateCommandBuffers)(screen->dev, &cbai, &bs->barrier_cmdbuf) != VK_SUCCESS) in create_batch_state()
241 if (VKSCR(CreateFence)(screen->dev, &fci, NULL, &bs->fence.fence) != VK_SUCCESS) in create_batch_state()
[all …]
Dzink_resource.c90 VKSCR(DestroyBuffer)(screen->dev, *buffer, NULL); in zink_destroy_resource_object()
91 VKSCR(DestroyBuffer)(screen->dev, obj->buffer, NULL); in zink_destroy_resource_object()
93 VKSCR(DestroyImage)(screen->dev, obj->image, NULL); in zink_destroy_resource_object()
179 …(VKSCR(GetPhysicalDeviceImageFormatProperties2) && screen->info.have_EXT_image_drm_format_modifier… in check_ici()
180 if (VKSCR(GetPhysicalDeviceImageFormatProperties2)) { in check_ici()
203 ret = VKSCR(GetPhysicalDeviceImageFormatProperties2)(screen->pdev, &info, &props2); in check_ici()
206 ret = VKSCR(GetPhysicalDeviceImageFormatProperties)(screen->pdev, ici->format, ici->imageType, in check_ici()
470 if (VKSCR(CreateBuffer)(screen->dev, &bci, NULL, &obj->buffer) != VK_SUCCESS) { in resource_object_create()
475 VKSCR(GetBufferMemoryRequirements)(screen->dev, obj->buffer, &reqs); in resource_object_create()
564 VkResult result = VKSCR(CreateImage)(screen->dev, &ici, NULL, &obj->image); in resource_object_create()
[all …]
Dzink_screen.c164 if (VKSCR(GetPipelineCacheData)(screen->dev, pg->pipeline_cache, &size, NULL) != VK_SUCCESS) in cache_put_job()
171 …if (VKSCR(GetPipelineCacheData)(screen->dev, pg->pipeline_cache, &size, pipeline_data) == VK_SUCCE… in cache_put_job()
207 VKSCR(CreatePipelineCache)(screen->dev, &pcci, NULL, &pg->pipeline_cache); in cache_get_job()
1097VKSCR(DestroyDebugUtilsMessengerEXT)(screen->instance, screen->debugUtilsCallbackHandle, NULL); in zink_destroy_screen()
1123 VKSCR(DestroySemaphore)(screen->dev, screen->sem, NULL); in zink_destroy_screen()
1125 VKSCR(DestroySemaphore)(screen->dev, screen->prev_sem, NULL); in zink_destroy_screen()
1131 VKSCR(DestroyDevice)(screen->dev, NULL); in zink_destroy_screen()
1263 VKSCR(GetPhysicalDeviceFormatProperties)(screen->pdev, format, &props); in zink_is_depth_format_supported()
1372 VKSCR(GetPhysicalDeviceCalibrateableTimeDomainsEXT)(screen->pdev, &num_domains, NULL); in check_have_device_time()
1376 VKSCR(GetPhysicalDeviceCalibrateableTimeDomainsEXT)(screen->pdev, &num_domains, domains); in check_have_device_time()
[all …]
Dzink_descriptors_lazy.c297 if (VKSCR(CreateDescriptorUpdateTemplate)(screen->dev, &template[i], NULL, &t) != VK_SUCCESS) in zink_descriptor_program_init_lazy()
315 VKSCR(DestroyDescriptorUpdateTemplate)(screen->dev, pg->dd->push_template, NULL); in zink_descriptor_program_deinit_lazy()
329 if (VKSCR(CreateDescriptorPool)(screen->dev, &dpci, 0, &pool) != VK_SUCCESS) { in create_pool()
481VKSCR(UpdateDescriptorSetWithTemplate)(screen->dev, desc_sets[type], pg->dd->layouts[type + 1]->de… in zink_descriptors_update_lazy_masked()
482 VKSCR(CmdBindDescriptorSets)(bs->cmdbuf, in zink_descriptors_update_lazy_masked()
494 VKSCR(CmdBindDescriptorSets)(bs->cmdbuf, in zink_descriptors_update_lazy_masked()
628 VKSCR(DestroyDescriptorPool)(screen->dev, pool->pool, NULL); in zink_batch_descriptor_deinit_lazy()
632 VKSCR(DestroyDescriptorPool)(screen->dev, bdd->push_pool[0]->pool, NULL); in zink_batch_descriptor_deinit_lazy()
634 VKSCR(DestroyDescriptorPool)(screen->dev, bdd->push_pool[1]->pool, NULL); in zink_batch_descriptor_deinit_lazy()
642 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_imageless()
98 VKSCR(DestroyFramebuffer)(screen->dev, ret, NULL); in zink_init_framebuffer_imageless()
230 if (VKSCR(CreateFramebuffer)(screen->dev, &fci, NULL, &ret) != VK_SUCCESS) in zink_init_framebuffer()
237 VKSCR(DestroyFramebuffer)(screen->dev, ret, NULL); in zink_init_framebuffer()
Dzink_descriptors.c268 VKSCR(DestroyDescriptorPool)(screen->dev, pool->descpool, NULL); in descriptor_pool_free()
326 if (VKSCR(CreateDescriptorPool)(screen->dev, &dpci, 0, &pool->descpool) != VK_SUCCESS) { in descriptor_pool_create()
363 if (VKSCR(GetDescriptorSetLayoutSupport)) { in descriptor_layout_create()
364 VKSCR(GetDescriptorSetLayoutSupport)(screen->dev, &dcslci, &supp); in descriptor_layout_create()
370 if (VKSCR(CreateDescriptorSetLayout)(screen->dev, &dcslci, 0, &dsl) != VK_SUCCESS) in descriptor_layout_create()
412 VKSCR(DestroyDescriptorSetLayout)(screen->dev, dsl, NULL); in create_layout()
532 VKSCR(UpdateDescriptorSets)(screen->dev, 1, &push_wd, 0, NULL); in zink_descriptor_util_init_null_set()
622 if (VKSCR(AllocateDescriptorSets)(screen->dev, &dsai, sets) != VK_SUCCESS) { in zink_descriptor_util_alloc_sets()
1279 VKSCR(UpdateDescriptorSets)(screen->dev, num_stages + !!fbfetch, wds, 0, NULL); in update_push_ubo_descriptors()
1392 VKSCR(UpdateDescriptorSets)(screen->dev, num_wds, wds, 0, NULL); in update_descriptors_internal()
[all …]
Dzink_program.c143 VKSCR(DestroyShaderModule)(screen->dev, zm->shader, NULL); in zink_destroy_shader_module()
276 if (VKSCR(CreatePipelineLayout)(screen->dev, &plci, NULL, &layout) != VK_SUCCESS) { in zink_pipeline_layout_create()
561 VKSCR(DestroyPipelineLayout)(screen->dev, prog->base.layout, NULL); in zink_destroy_gfx_program()
589 VKSCR(DestroyPipeline)(screen->dev, pc_entry->pipeline, NULL); in zink_destroy_gfx_program()
594 VKSCR(DestroyPipelineCache)(screen->dev, prog->base.pipeline_cache, NULL); in zink_destroy_gfx_program()
605 VKSCR(DestroyPipelineLayout)(screen->dev, comp->base.layout, NULL); in zink_destroy_compute_program()
613 VKSCR(DestroyPipeline)(screen->dev, pc_entry->pipeline, NULL); in zink_destroy_compute_program()
617 VKSCR(DestroyShaderModule)(screen->dev, comp->module->shader, NULL); in zink_destroy_compute_program()
620 VKSCR(DestroyPipelineCache)(screen->dev, comp->base.pipeline_cache, NULL); in zink_destroy_compute_program()
Dzink_fence.c134 ret = VKSCR(WaitForFences)(screen->dev, 1, &fence->fence, VK_TRUE, timeout_ns); in zink_vkfence_wait()
136 ret = VKSCR(GetFenceStatus)(screen->dev, fence->fence); in zink_vkfence_wait()
Dzink_surface.c150 if (VKSCR(CreateImageView)(screen->dev, ivci, NULL, in create_surface()
301 VKSCR(DestroyImageView)(screen->dev, surface->simage_view, NULL); in zink_destroy_surface()
302 VKSCR(DestroyImageView)(screen->dev, surface->image_view, NULL); in zink_destroy_surface()
346 if (VKSCR(CreateImageView)(screen->dev, &ivci, NULL, &image_view) != VK_SUCCESS) { in zink_rebind_surface()
Dzink_render_pass.c120 if (VKSCR(CreateRenderPass)(screen->dev, &rpci, NULL, &render_pass) != VK_SUCCESS) { in create_render_pass()
275 if (VKSCR(CreateRenderPass2)(screen->dev, &rpci, NULL, &render_pass) != VK_SUCCESS) { in create_render_pass2()
309 VKSCR(DestroyRenderPass)(screen->dev, rp->render_pass, NULL); in zink_destroy_render_pass()
Dzink_query.c252 VKSCR(DestroyQueryPool)(screen->dev, query->query_pool, NULL); in destroy_query()
262 VKSCR(DestroyQueryPool)(screen->dev, query->xfb_query_pool[i], NULL); in destroy_query()
308 VkResult status = VKSCR(CreateQueryPool)(screen->dev, &pool_create, NULL, &query->query_pool); in zink_create_query()
317 status = VKSCR(CreateQueryPool)(screen->dev, &pool_create, NULL, &query->xfb_query_pool[0]); in zink_create_query()
323 … status = VKSCR(CreateQueryPool)(screen->dev, &pool_create, NULL, &query->xfb_query_pool[i]); in zink_create_query()
1067 VKSCR(GetCalibratedTimestampsEXT)(screen->dev, 1, &cti, &timestamp, &deviation); in zink_get_timestamp()
Dzink_bo.c133 VKSCR(FreeMemory)(screen->dev, bo->mem, NULL); in bo_destroy()
274 VkResult ret = VKSCR(AllocateMemory)(screen->dev, &mai, NULL, &bo->mem); in bo_create_internal()
651 VkResult result = VKSCR(MapMemory)(screen->dev, real->mem, 0, real->base.size, 0, &cpu); in zink_bo_map()
674 VKSCR(UnmapMemory)(screen->dev, real->mem); in zink_bo_unmap()
701 VkResult ret = VKSCR(QueueBindSparse)(queue, 1, &sparse, VK_NULL_HANDLE); in do_commit_single()
Dzink_screen.h244 #define VKSCR(fn) screen->vk.fn macro
Dzink_context.c88 if (screen->queue && !screen->device_lost && VKSCR(QueueWaitIdle)(screen->queue) != VK_SUCCESS) in zink_context_destroy()
383 if (VKSCR(CreateSampler)(screen->dev, &sci, NULL, &sampler->sampler) != VK_SUCCESS) { in zink_create_sampler_state()
664 if (VKSCR(CreateBufferView)(screen->dev, bvci, NULL, &view) != VK_SUCCESS) in get_buffer_view()
668 VKSCR(DestroyBufferView)(screen->dev, view, NULL); in get_buffer_view()
796 VKSCR(DestroyBufferView)(screen->dev, buffer_view->buffer_view, NULL); in zink_destroy_buffer_view()
Dzink_draw.cpp162 VKSCR(CmdBindVertexBuffers)(batch->state->cmdbuf, 0, in zink_bind_vertex_buffers()
Dzink_compiler.c900 if (VKSCR(CreateShaderModule)(screen->dev, &smci, NULL, &mod) != VK_SUCCESS) in zink_shader_compile()