Home
last modified time | relevance | path

Searched refs:ralloc_array (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_reorder_uniforms.c76 uint32_t *uniform_data = ralloc_array(c, uint32_t, next_uniform); in qir_reorder_uniforms()
78 ralloc_array(c, enum quniform_contents, next_uniform); in qir_reorder_uniforms()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_liveness.c142 BITSET_WORD *tmp_live = ralloc_array(live, BITSET_WORD, bitset_words); in ir3_calc_liveness()
143 live->live_in = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness()
144 live->live_out = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness()
Dir3_context.c185 ralloc_array(ctx->def_ht, struct ir3_instruction *, n); in ir3_get_dst_ssa()
198 value = ralloc_array(ctx, struct ir3_instruction *, n); in ir3_get_dst()
225 ralloc_array(ctx, struct ir3_instruction *, num_components); in ir3_get_src()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c193 ralloc_array(NULL, enum brw_param_builtin, num_system_values); in iris_disk_cache_retrieve()
203 ralloc_array(NULL, struct brw_shader_reloc, prog_data->num_relocs); in iris_disk_cache_retrieve()
211 prog_data->param = ralloc_array(NULL, uint32_t, prog_data->nr_params); in iris_disk_cache_retrieve()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_const_arrays_to_uniforms.c104 ret->elements = ralloc_array(mem_ctx, nir_constant *, ret->num_elements); in rebuild_const_array_initialiser()
115 ret->elements = ralloc_array(mem_ctx, nir_constant *, ret->num_elements); in rebuild_const_array_initialiser()
249 struct var_info *var_infos = ralloc_array(NULL, struct var_info, num_locals); in nir_lower_const_arrays_to_uniforms()
Dnir_phi_builder.c102 pb->blocks = ralloc_array(pb, nir_block *, pb->num_blocks); in nir_phi_builder_create()
111 pb->W = ralloc_array(pb, nir_block *, pb->num_blocks); in nir_phi_builder_create()
Dnir_lower_regs_to_ssa.c223 state.values = ralloc_array(dead_ctx, struct nir_phi_builder_value *, in nir_lower_regs_to_ssa_impl()
229 BITSET_WORD *defs = ralloc_array(dead_ctx, BITSET_WORD, block_set_words); in nir_lower_regs_to_ssa_impl()
Dnir_lower_patch_vertices.c37 var->state_slots = ralloc_array(var, nir_state_slot, var->num_state_slots); in make_uniform()
Dnir_clone.c140 nc->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in nir_constant_clone()
161 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone()
173 nvar->members = ralloc_array(nvar, struct nir_variable_data, in nir_variable_clone()
733 nfxn->params = ralloc_array(state->ns, nir_parameter, fxn->num_params); in clone_function()
Dnir_lower_alpha_test.c103 var->state_slots = ralloc_array(var, nir_state_slot, 1); in nir_lower_alpha_test()
Dnir_lower_point_size_mov.c48 in->state_slots = ralloc_array(in, nir_state_slot, 1); in lower_impl()
Dnir_lower_pntc_ytransform.c52 var->state_slots = ralloc_array(var, nir_state_slot, 1); in get_pntc_transform()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp278 start = ralloc_array(mem_ctx, int, num_vars); in fs_live_variables()
285 vgrf_start = ralloc_array(mem_ctx, int, num_vgrfs); in fs_live_variables()
286 vgrf_end = ralloc_array(mem_ctx, int, num_vgrfs); in fs_live_variables()
Dbrw_vec4_live_variables.cpp224 start = ralloc_array(mem_ctx, int, num_vars); in vec4_live_variables()
225 end = ralloc_array(mem_ctx, int, num_vars); in vec4_live_variables()
Dbrw_fs_cse.cpp214 fs_reg *payload = ralloc_array(bld.shader->mem_ctx, fs_reg, in create_copy_instr()
231 fs_reg *payload = ralloc_array(bld.shader->mem_ctx, fs_reg, sources); in create_copy_instr()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_disk_cache.c178 ralloc_array(NULL, enum brw_param_builtin, num_system_values); in crocus_disk_cache_retrieve()
185 prog_data->param = ralloc_array(NULL, uint32_t, prog_data->nr_params); in crocus_disk_cache_retrieve()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c197 linked_block->Uniforms = ralloc_array(*linked_blocks, in link_cross_validate_uniform_block()
616 ralloc_array(linked, struct gl_uniform_block *, num_ubo_blocks); in gl_nir_link_uniform_blocks()
632 ralloc_array(linked, struct gl_uniform_block *, num_ssbo_blocks); in gl_nir_link_uniform_blocks()
Dir_clone.cpp275 …copy->subroutine_types = ralloc_array(mem_ctx, const struct glsl_type *, copy->num_subroutine_type… in clone()
359 c->const_elements = ralloc_array(c, ir_constant *, this->type->length); in clone()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_disk_cache.c173 ralloc_array(shader->prog_data.base, enum quniform_contents, ulist_count); in v3d_disk_cache_retrieve()
177 ralloc_array(shader->prog_data.base, uint32_t, ulist_count); in v3d_disk_cache_retrieve()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c604 ctx.live = ralloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
605 ctx.worklist = ralloc_array(ctx.mem_ctx, unsigned, comp->cur_reg); in gpir_regalloc_prog()
606 ctx.stack = ralloc_array(ctx.mem_ctx, unsigned, comp->cur_reg); in gpir_regalloc_prog()
/third_party/mesa3d/src/panfrost/perf/
Dpan_perf.c82 perf->counter_values = ralloc_array(perf, uint32_t, perf->n_counter_values); in panfrost_perf_init()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_liveness.c68 uint8_t *live = ralloc_array(blk, uint8_t, temp_count); in liveness_block_update()
/third_party/mesa3d/src/asahi/compiler/
Dagx_liveness.c109 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words); in agx_compute_liveness()
/third_party/mesa3d/src/util/
Dstring_buffer.c57 str->buf = ralloc_array(str, char, str->capacity); in _mesa_string_buffer_create()
/third_party/mesa3d/src/panfrost/util/
Dpan_liveness.c83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update()

12345