Home
last modified time | relevance | path

Searched refs:util_dynarray_num_elements (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/util/tests/
Ddag_test.cpp90 if (util_dynarray_num_elements(a, int) != util_dynarray_num_elements(b, int)) in int_dynarrays_equal()
93 for (unsigned i = 0; i < util_dynarray_num_elements(a, int); i++) { in int_dynarrays_equal()
115 for (unsigned i = 0; i < util_dynarray_num_elements(a, int); i++) { in int_dynarrays_equal_pred()
122 for (unsigned i = 0; i < util_dynarray_num_elements(b, int); i++) { in int_dynarrays_equal_pred()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_pixelformat.c157 …pfi->iPixelFormat = util_dynarray_num_elements(&stw_dev->pixelformats, struct stw_pixelformat_info… in stw_pixelformat_add()
228 util_dynarray_num_elements(&stw_dev->pixelformats, in stw_pixelformat_add()
329 util_dynarray_num_elements(&stw_dev->pixelformats, in stw_pixelformat_init()
350 return util_dynarray_num_elements(&stw_dev->pixelformats, in stw_pixelformat_get_extended_count()
365 if (index >= util_dynarray_num_elements(&stw_dev->pixelformats, in stw_pixelformat_get_info()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_mempool.h95 return util_dynarray_num_elements(&pool->bos, struct panfrost_bo *); in panfrost_pool_num_bos()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_mempool.h89 return util_dynarray_num_elements(&pool->bos, struct panfrost_bo *); in panvk_pool_num_bos()
Dpanvk_mempool.c50 util_dynarray_num_elements(&pool->bo_pool->free_bos, struct panfrost_bo *)) { in panvk_pool_alloc_backing()
Dpanvk_vX_device.c277 util_dynarray_num_elements(&batch->event_ops, in panvk_per_arch()
Dpanvk_vX_pipeline.c146 util_dynarray_num_elements(&shader->binary, uint8_t); in panvk_pipeline_builder_compile_shaders()
171 util_dynarray_num_elements(&shader->binary, uint8_t)); in panvk_pipeline_builder_upload_shaders()
/third_party/mesa3d/src/vulkan/util/
Dvk_log.c175 cb_data.cmdBufLabelCount = util_dynarray_num_elements( in __vk_log_impl()
188 util_dynarray_num_elements(&queue->labels, VkDebugUtilsLabelEXT); in __vk_log_impl()
/third_party/mesa3d/src/asahi/lib/
Dpool.h66 return util_dynarray_num_elements(&pool->bos, struct agx_bo *); in agx_pool_num_bos()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.h106 …return fb_clear ? util_dynarray_num_elements(&fb_clear->clears, struct zink_framebuffer_clear_data… in zink_fb_clear_count()
Dzink_batch.c269 if (util_dynarray_num_elements(&ctx->free_batch_states, struct zink_batch_state*)) in get_batch_state()
/third_party/mesa3d/src/panfrost/midgard/
Dmir.c383 size_t count = util_dynarray_num_elements(&block->bundles, midgard_bundle); in mir_insert_instruction_before_scheduled()
405 size_t count = util_dynarray_num_elements(&block->bundles, midgard_bundle); in mir_insert_instruction_after_scheduled()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_cp_postsched.c209 return util_dynarray_num_elements(&newdeps, struct ir3_instruction **) > 0; in instr_cp_postsched()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fence.c124 int n = util_dynarray_num_elements(&batch->syncobjs, struct crocus_syncobj *); in clear_stale_syncobjs()
126 assert(n == util_dynarray_num_elements(&batch->exec_fences, in clear_stale_syncobjs()
Dcrocus_batch.c77 return util_dynarray_num_elements(&batch->exec_fences, in num_fences()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fence.c144 int n = util_dynarray_num_elements(&batch->syncobjs, struct iris_syncobj *); in clear_stale_syncobjs()
146 assert(n == util_dynarray_num_elements(&batch->exec_fences, in clear_stale_syncobjs()
Diris_batch.c73 return util_dynarray_num_elements(&batch->exec_fences, in num_fences()
/third_party/mesa3d/src/util/
Du_dynarray.h183 #define util_dynarray_num_elements(buf, type) ((buf)->size / sizeof(type)) macro
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_gpu.h115 (util_dynarray_num_elements(plbu_cmd_array, uint32_t) + i)
/third_party/mesa3d/src/compiler/nir/
Dnir_search.c509 util_dynarray_num_elements(state->states, uint16_t)); in construct_value()
560 util_dynarray_num_elements(state->states, uint16_t)); in construct_value()
787 if (ssa_val->index == util_dynarray_num_elements(states, uint16_t)) { in nir_replace_instr()
Dnir_opt_load_store_vectorize.c1181 unsigned num_entries = util_dynarray_num_elements(arr, struct entry *); in vectorize_sorted_entries()
1227 util_dynarray_num_elements(arr, struct entry *), in vectorize_entries()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c810 …unsigned num_srvs = util_dynarray_num_elements(&ctx->srv_metadata_nodes, const struct dxil_mdnode … in get_resource_id()
811 …unsigned num_uavs = util_dynarray_num_elements(&ctx->uav_metadata_nodes, const struct dxil_mdnode … in get_resource_id()
812 …unsigned num_cbvs = util_dynarray_num_elements(&ctx->cbv_metadata_nodes, const struct dxil_mdnode … in get_resource_id()
813 …unsigned num_samplers = util_dynarray_num_elements(&ctx->sampler_metadata_nodes, const struct dxil… in get_resource_id()
834 assert(offset + count <= util_dynarray_num_elements(&ctx->resources, struct dxil_resource)); in get_resource_id()
851 unsigned id = util_dynarray_num_elements(&ctx->srv_metadata_nodes, const struct dxil_mdnode *); in emit_srv()
924 if (util_dynarray_num_elements(&ctx->uav_metadata_nodes, const struct dxil_mdnode *) > 8) in emit_globals()
936 unsigned id = util_dynarray_num_elements(&ctx->uav_metadata_nodes, const struct dxil_mdnode *); in emit_uav()
947 if (util_dynarray_num_elements(&ctx->uav_metadata_nodes, const struct dxil_mdnode *) > 8) in emit_uav()
1106 unsigned idx = util_dynarray_num_elements(&ctx->cbv_metadata_nodes, const struct dxil_mdnode *); in emit_cbv()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_rtld.c324 util_dynarray_num_elements(&binary->lds_symbols, struct ac_rtld_symbol); in ac_rtld_open()
388 util_dynarray_num_elements(&binary->lds_symbols, struct ac_rtld_symbol) - in ac_rtld_open()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_vectorize_vs_inputs.c314 if (!util_dynarray_num_elements(stack, nir_instr *)) in r600_vec_instr_set_remove()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_pack.c708 util_dynarray_num_elements(emission, uint8_t); in bi_collect_blend_ret_addr()

12