Home
last modified time | relevance | path

Searched refs:rzalloc (Results 1 – 25 of 60) sorted by relevance

123

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_program.c62 struct st_vertex_program *prog = rzalloc(NULL, in st_new_program()
67 struct st_fragment_program *prog = rzalloc(NULL, in st_new_program()
72 struct st_geometry_program *prog = rzalloc(NULL, in st_new_program()
77 struct st_tessctrl_program *prog = rzalloc(NULL, in st_new_program()
82 struct st_tesseval_program *prog = rzalloc(NULL, in st_new_program()
87 struct st_compute_program *prog = rzalloc(NULL, in st_new_program()
/external/mesa3d/src/compiler/glsl/
Dlink_uniform_block_active_visitor.cpp43 rzalloc(mem_ctx, struct link_uniform_block_active); in process_block()
103 *ub_array_ptr = rzalloc(mem_ctx, struct uniform_block_array_elements); in process_arrays()
195 *ub_array = rzalloc(this->mem_ctx, struct uniform_block_array_elements); in visit()
Dstandalone.cpp122 struct gl_program *prog = rzalloc(NULL, struct gl_program); in new_program()
436 whole_program = rzalloc (NULL, struct gl_shader_program); in standalone_compile_shader()
438 whole_program->data = rzalloc(whole_program, struct gl_shader_program_data); in standalone_compile_shader()
453 struct gl_shader *shader = rzalloc(whole_program, gl_shader); in standalone_compile_shader()
Dtest_optpass.cpp205 struct gl_shader *shader = rzalloc(NULL, struct gl_shader); in test_optpass()
Dstandalone_scaffolding.cpp93 shader = rzalloc(NULL, struct gl_shader); in _mesa_new_shader()
/external/mesa3d/src/mesa/main/
Dshaderobj.c105 shader = rzalloc(NULL, struct gl_shader); in _mesa_new_shader()
265 data = rzalloc(NULL, struct gl_shader_program_data); in create_shader_program_data()
301 shProg = rzalloc(NULL, struct gl_shader_program); in _mesa_new_shader_program()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler.c35 struct ir3_compiler *compiler = rzalloc(NULL, struct ir3_compiler); in ir3_compiler_create()
/external/mesa3d/src/compiler/nir/
Dnir_loop_analyze.c229 nir_basic_induction_var *biv = rzalloc(state, nir_basic_induction_var); in compute_induction_information()
342 rzalloc(state->loop->info, nir_loop_terminator); in find_loop_terminators()
784 loop_info_state *state = rzalloc(mem_ctx, loop_info_state); in initialize_loop_info_state()
794 loop->info = rzalloc(loop, nir_loop_info); in initialize_loop_info_state()
Dnir.c38 nir_shader *shader = rzalloc(mem_ctx, nir_shader); in nir_shader_create()
47 shader->info = si ? si : rzalloc(shader, shader_info); in nir_shader_create()
159 nir_variable *var = rzalloc(shader, nir_variable); in nir_variable_create()
180 nir_variable *var = rzalloc(impl->function->shader, nir_variable); in nir_local_variable_create()
318 impl->params[i] = rzalloc(function->shader, nir_variable); in nir_function_impl_create()
325 impl->return_var = rzalloc(function->shader, nir_variable); in nir_function_impl_create()
339 nir_block *block = rzalloc(shader, nir_block); in nir_block_create()
396 nir_loop *loop = rzalloc(shader, nir_loop); in nir_loop_create()
524 nir_tex_instr *instr = rzalloc(shader, nir_tex_instr); in nir_tex_instr_create()
Dnir_opt_dce.c134 struct exec_list *worklist = rzalloc(NULL, struct exec_list); in nir_opt_dce_impl()
Dnir_to_lcssa.c195 lcssa_state *state = rzalloc(NULL, lcssa_state); in nir_convert_loop_to_lcssa()
Dnir_lower_two_sided_color.c51 nir_variable *var = rzalloc(shader, nir_variable); in create_input()
Dnir_phi_builder.c84 struct nir_phi_builder *pb = rzalloc(NULL, struct nir_phi_builder); in nir_phi_builder_create()
/external/mesa3d/src/util/
Dregister_allocate.c191 regs = rzalloc(mem_ctx, struct ra_regs); in ra_alloc_reg_set()
309 class = rzalloc(regs, struct ra_class); in ra_alloc_reg_class()
419 g = rzalloc(NULL, struct ra_graph); in ra_alloc_interference_graph()
Dralloc.h79 #define rzalloc(ctx, type) ((type *) rzalloc_size(ctx, sizeof(type))) macro
/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_context.c64 struct i830_context *i830 = rzalloc(NULL, struct i830_context); in i830CreateContext()
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c60 struct vtn_ssa_value *val = rzalloc(b, struct vtn_ssa_value); in vtn_undef_ssa_value()
101 struct vtn_ssa_value *val = rzalloc(b, struct vtn_ssa_value); in vtn_const_ssa_value()
127 struct vtn_ssa_value *col_val = rzalloc(b, struct vtn_ssa_value); in vtn_const_ssa_value()
351 struct vtn_decoration *dec = rzalloc(b, struct vtn_decoration); in vtn_handle_decoration()
381 struct vtn_decoration *dec = rzalloc(b, struct vtn_decoration); in vtn_handle_decoration()
700 val->type = rzalloc(b, struct vtn_type); in vtn_handle_type()
906 nir_constant *c = rzalloc(b, nir_constant); in vtn_null_constant()
1012 val->constant = rzalloc(b, nir_constant); in vtn_handle_constant()
1359 struct vtn_ssa_value *val = rzalloc(b, struct vtn_ssa_value); in vtn_create_ssa_value()
2179 val->ssa = rzalloc(b, struct vtn_ssa_value); in vtn_handle_ssbo_or_shared_atomic()
[all …]
Dvtn_variables.c105 deref_var = rzalloc(b, nir_deref_var); in vtn_access_chain_to_deref()
765 *inout = rzalloc(b, struct vtn_ssa_value); in _vtn_variable_load_store()
1058 nir_constant *c = rzalloc(nir_var, nir_constant); in apply_var_decoration()
1278 struct vtn_variable *var = rzalloc(b, struct vtn_variable); in vtn_handle_variables()
1353 var->var = rzalloc(b->shader, nir_variable); in vtn_handle_variables()
1426 var->members[i] = rzalloc(b->shader, nir_variable); in vtn_handle_variables()
1436 var->var = rzalloc(b->shader, nir_variable); in vtn_handle_variables()
Dvtn_cfg.c34 b->func = rzalloc(b, struct vtn_function); in vtn_cfg_handle_prepass_instruction()
100 struct vtn_variable *vtn_var = rzalloc(b, struct vtn_variable); in vtn_cfg_handle_prepass_instruction()
126 b->block = rzalloc(b, struct vtn_block); in vtn_cfg_handle_prepass_instruction()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_compiler.c103 struct brw_compiler *compiler = rzalloc(mem_ctx, struct brw_compiler); in brw_compiler_create()
Dbrw_program.c150 struct brw_program *prog = rzalloc(NULL, struct brw_program); in brwNewProgram()
161 struct brw_program *prog = rzalloc(NULL, struct brw_program); in brwNewProgram()
Dtest_eu_compact.c259 struct brw_codegen *p = rzalloc(NULL, struct brw_codegen); in run_tests()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.c123 vc4 = rzalloc(NULL, struct vc4_context); in vc4_context_create()
Dvc4_qir.c597 struct qblock *block = rzalloc(c, struct qblock); in qir_new_block()
645 struct vc4_compile *c = rzalloc(NULL, struct vc4_compile); in qir_compile_init()
/external/mesa3d/src/compiler/glsl/tests/
Dset_uniform_initializer_tests.cpp72 this->prog = rzalloc(NULL, struct gl_shader_program); in SetUp()
73 this->prog->data = rzalloc(this->prog, struct gl_shader_program_data); in SetUp()

123