Home
last modified time | relevance | path

Searched refs:util_dynarray_element (Results 1 – 24 of 24) sorted by relevance

/third_party/mesa3d/src/util/tests/
Ddag_test.cpp94 if (*util_dynarray_element(a, int, i) != in int_dynarrays_equal()
95 *util_dynarray_element(b, int, i)) { in int_dynarrays_equal()
118 result << *util_dynarray_element(a, int, i); in int_dynarrays_equal_pred()
125 result << *util_dynarray_element(b, int, i); in int_dynarrays_equal_pred()
/third_party/mesa3d/src/util/
Du_dynarray.h180 #define util_dynarray_element(buf, type, idx) ((type*)(buf)->data + (idx)) macro
182 #define util_dynarray_end(buf) ((void*)util_dynarray_element((buf), char, (buf)->size))
200 type __v = *util_dynarray_element((buf), type, (i)); \
202 memcpy(util_dynarray_element((buf), type, (i)), \
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.h100 return util_dynarray_element(&fb_clear->clears, struct zink_framebuffer_clear_data, idx); in zink_fb_clear_element()
Dzink_descriptors.c202 …struct zink_descriptor_reference *ref = util_dynarray_element(refs, struct zink_descriptor_referen… in pop_desc_set_ref()
204 memcpy(util_dynarray_element(refs, struct zink_descriptor_reference, i), in pop_desc_set_ref()
/third_party/mesa3d/src/compiler/nir/
Dnir_search.c829 index += tbl->filter[*util_dynarray_element(states, uint16_t, in nir_algebraic_automaton()
833 uint16_t *state = util_dynarray_element(states, uint16_t, in nir_algebraic_automaton()
844 uint16_t *state = util_dynarray_element(states, uint16_t, in nir_algebraic_automaton()
883 int xform_idx = *util_dynarray_element(states, uint16_t, in nir_algebraic_instr()
Dnir_opt_load_store_vectorize.c1185 struct entry *low = *util_dynarray_element(arr, struct entry *, first_idx); in vectorize_sorted_entries()
1190 struct entry *high = *util_dynarray_element(arr, struct entry *, second_idx); in vectorize_sorted_entries()
1203 *util_dynarray_element(arr, struct entry *, second_idx) = NULL; in vectorize_sorted_entries()
1208 *util_dynarray_element(arr, struct entry *, first_idx) = low; in vectorize_sorted_entries()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fence.c132 util_dynarray_element(&batch->syncobjs, struct crocus_syncobj *, i); in clear_stale_syncobjs()
134 util_dynarray_element(&batch->exec_fences, in clear_stale_syncobjs()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fence.c152 util_dynarray_element(&batch->syncobjs, struct iris_syncobj *, i); in clear_stale_syncobjs()
154 util_dynarray_element(&batch->exec_fences, in clear_stale_syncobjs()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_perfmon.c461 i = *util_dynarray_element(&screen->supported_pm_queries, unsigned, index); in etna_pm_get_driver_query_info()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_util.h259 util_dynarray_element(buf, struct fd_cs_patch, i)
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c419 *util_dynarray_element(&batch->draw_patches, uint32_t *, i); in patch_draws()
583 *util_dynarray_element(&batch->shader_patches, instr_cf_t *, i); in fd2_emit_tile_init()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_pixelformat.c370 return util_dynarray_element(&stw_dev->pixelformats, in stw_pixelformat_get_info()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.c174 struct pipe_resource **res = util_dynarray_element( in nv50_context_unreference_resources()
Dnv50_state.c1441 ptr = util_dynarray_element( in nv50_set_global_bindings()
1448 ptr = util_dynarray_element( in nv50_set_global_bindings()
Dnv50_compute.c490 struct pipe_resource *res = *util_dynarray_element( in nv50_compute_validate_globals()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_compute.c308 struct pipe_resource *res = *util_dynarray_element( in nvc0_compute_validate_globals()
Dnvc0_context.c232 struct pipe_resource **res = util_dynarray_element( in nvc0_context_unreference_resources()
Dnvc0_state.c1434 ptr = util_dynarray_element( in nvc0_set_global_bindings()
1441 ptr = util_dynarray_element( in nvc0_set_global_bindings()
/third_party/mesa3d/src/amd/common/
Dac_rtld.c386 if (!layout_symbols(util_dynarray_element(&binary->lds_symbols, struct ac_rtld_symbol, in ac_rtld_open()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_pipeline.c170 util_dynarray_element(&shader->binary, uint8_t, 0), in panvk_pipeline_builder_upload_shaders()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c2985 util_dynarray_element(&v->bundles, midgard_bundle, 0); in midgard_get_first_tag_from_block()
/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline.c3154 return util_dynarray_element( in anv_pipeline_get_executable()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c3426 return util_dynarray_element( in tu_pipeline_get_executable()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c836 …const struct dxil_resource *resource = util_dynarray_element(&ctx->resources, struct dxil_resource… in get_resource_id()