Searched refs:layout_key (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_descriptors_lazy.c | 232 …scriptor_util_layout_get(ctx, type, bindings[type], num_bindings[type], &pg->dd->layout_key[type]); in zink_descriptor_program_init_lazy() 233 pg->dd->layout_key[type]->use_count++; in zink_descriptor_program_init_lazy() 271 wd_count[i + 1] = pg->dd->layout_key[i] ? pg->dd->layout_key[i]->num_descriptors : 0; in zink_descriptor_program_init_lazy() 311 if (pg->dd->layout_key[i]) in zink_descriptor_program_deinit_lazy() 312 pg->dd->layout_key[i]->use_count--; in zink_descriptor_program_deinit_lazy() 404 struct hash_entry *he = _mesa_hash_table_search(&bdd->pools[type], pg->dd->layout_key[type]); in get_descriptor_pool_lazy() 423 _mesa_hash_table_insert(&bdd->pools[type], pg->dd->layout_key[type], pool); in get_descriptor_pool_lazy() 442 if (pg->dd->layout_key[type]) { in populate_sets() 480 if (pg->dd->layout_key[type]) { in zink_descriptors_update_lazy_masked() 491 if (!pg->dd->layout_key[type]) in zink_descriptors_update_lazy_masked() [all …]
|
D | zink_descriptors.c | 290 …struct zink_descriptor_layout_key *layout_key, VkDescriptorPoolSize *sizes, unsigned num_type_size… in descriptor_pool_create() argument 297 pool->key.layout = layout_key; in descriptor_pool_create() 307 for (unsigned i = 0; i < layout_key->num_descriptors; i++) { in descriptor_pool_create() 308 pool->num_resources += layout_key->bindings[i].descriptorCount; in descriptor_pool_create() 398 struct zink_descriptor_layout_key **layout_key) in create_layout() argument 419 *layout_key = k; in create_layout() 426 struct zink_descriptor_layout_key **layout_key) in zink_descriptor_util_layout_get() argument 450 *layout_key = (void*)he->key; in zink_descriptor_util_layout_get() 455 … *layout = create_layout(ctx, type, bindings ? bindings : &null_binding, num_bindings, layout_key); in zink_descriptor_util_layout_get() 457 _mesa_hash_table_insert_pre_hashed(&ctx->desc_set_layouts[type], hash, *layout_key, layout); in zink_descriptor_util_layout_get() [all …]
|
D | zink_descriptors.h | 148 struct zink_descriptor_layout_key *layout_key[ZINK_DESCRIPTOR_TYPES]; //push set doesn't need one member 214 struct zink_descriptor_layout_key **layout_key);
|