Home
last modified time | relevance | path

Searched refs:push_set (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors_lazy.c559 VkDescriptorSet push_set = VK_NULL_HANDLE; in zink_descriptors_alloc_lazy_push() local
565 push_set = get_descriptor_set_lazy(pool); in zink_descriptors_alloc_lazy_push()
566 if (!push_set) in zink_descriptors_alloc_lazy_push()
568 return push_set; in zink_descriptors_alloc_lazy_push()
606 VkDescriptorSet push_set = VK_NULL_HANDLE; in zink_descriptors_update_lazy() local
609 push_set = get_descriptor_set_lazy(pool); in zink_descriptors_update_lazy()
610 if (!push_set) { in zink_descriptors_update_lazy()
613 push_set = ctx->dd->dummy_set; in zink_descriptors_update_lazy()
629 … VKCTX(UpdateDescriptorSetWithTemplate)(screen->dev, push_set, pg->dd->templates[0], ctx); in zink_descriptors_update_lazy()
630 bdd->sets[is_compute][0] = push_set; in zink_descriptors_update_lazy()
[all …]
Dzink_descriptors.c642 bool push_set = type == ZINK_DESCRIPTOR_TYPES; in allocate_desc_set() local
643 …struct zink_descriptor_pool *pool = push_set ? ctx->dd->push_pool[is_compute] : pdd_cached(pg)->po… in allocate_desc_set()
653 …if (!zink_descriptor_util_alloc_sets(screen, push_set ? ctx->dd->push_dsl[is_compute]->layout : pg… in allocate_desc_set()
790 bool push_set = type == ZINK_DESCRIPTOR_TYPES; in zink_descriptor_set_get() local
791 …struct zink_descriptor_pool *pool = push_set ? ctx->dd->push_pool[is_compute] : pdd_cached(pg)->po… in zink_descriptor_set_get()
797 uint32_t hash = push_set ? ctx->dd->push_state[is_compute] : in zink_descriptor_set_get()
802 …struct zink_descriptor_set *last_set = push_set ? ctx->dd->last_set[is_compute] : pdd_cached(pg)->… in zink_descriptor_set_get()
807 if (last_set && ((push_set && !ctx->dd->changed[is_compute][ZINK_DESCRIPTOR_TYPES]) || in zink_descriptor_set_get()
808 (!push_set && (screen->compact_descriptors ? in zink_descriptor_set_get()
914 if (!push_set) { in zink_descriptor_set_get()
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_cmd_buffer.c857 struct anv_push_descriptor_set **push_set = in anv_cmd_buffer_push_descriptor_set() local
860 if (*push_set == NULL) { in anv_cmd_buffer_push_descriptor_set()
861 *push_set = vk_zalloc(&cmd_buffer->vk.pool->alloc, in anv_cmd_buffer_push_descriptor_set()
864 if (*push_set == NULL) { in anv_cmd_buffer_push_descriptor_set()
870 struct anv_descriptor_set *set = &(*push_set)->set; in anv_cmd_buffer_push_descriptor_set()
881 set->buffer_views = (*push_set)->buffer_views; in anv_cmd_buffer_push_descriptor_set()
884 ((*push_set)->set_used_on_gpu || in anv_cmd_buffer_push_descriptor_set()
Danv_private.h2018 struct anv_push_descriptor_set *push_set = in anv_descriptor_set_address() local
2020 push_set->set_used_on_gpu = true; in anv_descriptor_set_address()
/third_party/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c428 struct radv_descriptor_set_header *set = &cmd_buffer->descriptors[i].push_set.set; in radv_destroy_cmd_buffer()
479 vk_object_base_init(&device->vk, &cmd_buffer->descriptors[i].push_set.set.base, in radv_create_cmd_buffer()
3414 struct radv_descriptor_set *set = (struct radv_descriptor_set *)&descriptors_state->push_set.set; in radv_flush_push_descriptors()
5304 if (descriptors_state->push_set.capacity < set->header.size) { in radv_init_push_descriptor_set()
5306 new_size = MAX2(new_size, 2 * descriptors_state->push_set.capacity); in radv_init_push_descriptor_set()
5313 descriptors_state->push_set.capacity = 0; in radv_init_push_descriptor_set()
5318 descriptors_state->push_set.capacity = new_size; in radv_init_push_descriptor_set()
5331 struct radv_descriptor_set *push_set = in radv_meta_push_descriptor_set() local
5338 push_set->header.size = layout->set[set].layout->size; in radv_meta_push_descriptor_set()
5339 push_set->header.layout = layout->set[set].layout; in radv_meta_push_descriptor_set()
[all …]
Dradv_private.h1404 struct radv_push_descriptor_set push_set; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.h49 struct tu_descriptor_set push_set; member
Dtu_cmd_buffer.c1625 if (cmd_buffer->descriptors[i].push_set.layout) in tu_cmd_buffer_destroy()
1627 cmd_buffer->descriptors[i].push_set.layout); in tu_cmd_buffer_destroy()
1654 if (cmd_buffer->descriptors[i].push_set.layout) in tu_reset_cmd_buffer()
1656 cmd_buffer->descriptors[i].push_set.layout); in tu_reset_cmd_buffer()
1657 memset(&cmd_buffer->descriptors[i].push_set, 0, sizeof(cmd_buffer->descriptors[i].push_set)); in tu_reset_cmd_buffer()
1658 cmd_buffer->descriptors[i].push_set.base.type = VK_OBJECT_TYPE_DESCRIPTOR_SET; in tu_reset_cmd_buffer()
2106 &tu_get_descriptors_state(cmd, pipelineBindPoint)->push_set; in tu_CmdPushDescriptorSetKHR()
2151 &tu_get_descriptors_state(cmd, templ->bind_point)->push_set; in tu_CmdPushDescriptorSetWithTemplateKHR()