Home
last modified time | relevance | path

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

1234567

/third_party/mesa3d/src/panfrost/bifrost/
Dbi_test.h38 bi_block *blk = rzalloc(ctx, bi_block); in bit_block()
52 bi_context *ctx = rzalloc(memctx, bi_context); in bit_builder()
54 ctx->inputs = rzalloc(memctx, struct panfrost_compile_inputs); in bit_builder()
58 bi_builder *b = rzalloc(memctx, bi_builder); in bit_builder()
/third_party/mesa3d/src/asahi/compiler/test/
Dagx_test.h39 agx_context *ctx = rzalloc(memctx, agx_context); in agx_test_builder()
42 agx_block *blk = rzalloc(ctx, agx_block); in agx_test_builder()
48 agx_builder *b = rzalloc(memctx, agx_builder); in agx_test_builder()
/third_party/mesa3d/src/compiler/glsl/
Dlink_uniform_block_active_visitor.cpp44 rzalloc(mem_ctx, struct link_uniform_block_active); in process_block()
104 *ub_array_ptr = rzalloc(mem_ctx, struct uniform_block_array_elements); in process_arrays()
198 *ub_array = rzalloc(this->mem_ctx, struct uniform_block_array_elements); in visit()
Dstandalone.cpp113 struct gl_program *prog = rzalloc(NULL, struct gl_program); in new_program()
447 whole_program = rzalloc (NULL, struct gl_shader_program); in standalone_compile_shader()
449 whole_program->data = rzalloc(whole_program, struct gl_shader_program_data); in standalone_compile_shader()
464 struct gl_shader *shader = rzalloc(whole_program, gl_shader); in standalone_compile_shader()
/third_party/mesa3d/src/intel/compiler/
Dtest_vec4_dead_code_eliminate.cpp92 compiler = rzalloc(ctx, struct brw_compiler); in SetUp()
93 devinfo = rzalloc(ctx, struct intel_device_info); in SetUp()
Dtest_vec4_copy_propagation.cpp92 compiler = rzalloc(ctx, struct brw_compiler); in SetUp()
93 devinfo = rzalloc(ctx, struct intel_device_info); in SetUp()
Dtest_fs_copy_propagation.cpp59 compiler = rzalloc(ctx, struct brw_compiler); in SetUp()
60 devinfo = rzalloc(ctx, struct intel_device_info); in SetUp()
Dbrw_compiler.c107 struct brw_compiler *compiler = rzalloc(mem_ctx, struct brw_compiler); in brw_compiler_create()
168 rzalloc(compiler, struct nir_shader_compiler_options); in brw_compiler_create()
Dtest_vec4_register_coalesce.cpp95 compiler = rzalloc(ctx, struct brw_compiler); in SetUp()
96 devinfo = rzalloc(ctx, struct intel_device_info); in SetUp()
Dtest_eu_compact.cpp210 devinfo = rzalloc(mem_ctx, intel_device_info); in SetUp()
211 p = rzalloc(mem_ctx, brw_codegen); in SetUp()
Dtest_simd_selection.cpp46 devinfo = rzalloc(mem_ctx, intel_device_info);
47 prog_data = rzalloc(mem_ctx, struct brw_cs_prog_data);
/third_party/mesa3d/src/mesa/main/
Dshaderobj.c117 shader = rzalloc(NULL, struct gl_shader); in _mesa_new_shader()
282 data = rzalloc(NULL, struct gl_shader_program_data); in _mesa_create_shader_program_data()
316 shProg = rzalloc(NULL, struct gl_shader_program); in _mesa_new_shader_program()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_goto_ifs.c311 struct routes *routing_backup = rzalloc(mem_ctx, struct routes); in loop_routing_start()
335 struct path_fork *fork = rzalloc(mem_ctx, struct path_fork); in loop_routing_start()
345 struct path_fork *fork = rzalloc(mem_ctx, struct path_fork); in loop_routing_start()
515 struct path_fork *fork = rzalloc(mem_ctx, struct path_fork); in select_fork_recur()
689 struct strct_lvl *curr_level = rzalloc(mem_ctx, struct strct_lvl); in organize_levels()
780 struct path_fork *fork = rzalloc(mem_ctx, struct path_fork); in organize_levels()
961 struct routes *routing = rzalloc(mem_ctx, struct routes); in nir_lower_goto_ifs_impl()
Dnir_lower_const_arrays_to_uniforms.c100 nir_constant *ret = rzalloc(mem_ctx, nir_constant); in rebuild_const_array_initialiser()
107 ret->elements[i] = rzalloc(mem_ctx, nir_constant); in rebuild_const_array_initialiser()
166 nir_variable *uni = rzalloc(shader, nir_variable); in lower_const_array_to_uniform()
/third_party/mesa3d/src/panfrost/bifrost/test/
Dtest-message-preload.cpp33 A->shader->info.bifrost = rzalloc(mem_ctx, struct bifrost_shader_info); \
34 B->shader->info.bifrost = rzalloc(mem_ctx, struct bifrost_shader_info); \
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_disk_cache.c118 shader = rzalloc(NULL, struct lima_vs_compiled_shader); in lima_vs_disk_cache_retrieve()
170 shader = rzalloc(NULL, struct lima_fs_compiled_shader); in lima_fs_disk_cache_retrieve()
Dlima_program.c364 fs = rzalloc(NULL, struct lima_fs_compiled_shader); in lima_get_compiled_fs()
398 struct lima_fs_uncompiled_shader *so = rzalloc(NULL, struct lima_fs_uncompiled_shader); in lima_create_fs_state()
538 vs = rzalloc(NULL, struct lima_vs_compiled_shader); in lima_get_compiled_vs()
645 struct lima_vs_uncompiled_shader *so = rzalloc(NULL, struct lima_vs_uncompiled_shader); in lima_create_vs_state()
/third_party/mesa3d/src/compiler/clc/
Dclc.c122 struct clc_libclc *ctx = rzalloc(NULL, struct clc_libclc); in clc_libclc_new()
193 struct clc_libclc *ctx = rzalloc(NULL, struct clc_libclc); in clc_libclc_deserialize()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler.c36 struct etna_compiler *compiler = rzalloc(NULL, struct etna_compiler); in etna_compiler_create()
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c160 group = rzalloc(ctx->spec, struct intel_group); in create_group()
222 e = rzalloc(ctx->spec, struct intel_enum); in create_enum()
318 field = rzalloc(ctx->group, struct intel_field); in create_field()
350 field = rzalloc(ctx->group, struct intel_field); in create_array_field()
362 struct intel_value *value = rzalloc(ctx->values, struct intel_value); in create_value()
570 spec = rzalloc(NULL, struct intel_spec); in intel_spec_init()
/third_party/mesa3d/src/panfrost/perf/
Dquick.c14 struct panfrost_perf *perf = rzalloc(ctx, struct panfrost_perf); in main()
/third_party/mesa3d/src/panfrost/ds/
Dpan_pps_perf.cc44 : perf {reinterpret_cast<struct panfrost_perf *>(rzalloc(nullptr, struct panfrost_perf))} in PanfrostPerf()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_cfg.c181 b->func = rzalloc(b, struct vtn_function); in vtn_cfg_handle_prepass_instruction()
278 b->block = rzalloc(b, struct vtn_block); in vtn_cfg_handle_prepass_instruction()
574 cse = rzalloc(b, struct vtn_case); in vtn_parse_switch()
672 struct vtn_loop *loop = rzalloc(b, struct vtn_loop); in vtn_process_block()
760 struct vtn_if *if_stmt = rzalloc(b, struct vtn_if); in vtn_process_block()
802 struct vtn_switch *swtch = rzalloc(b, struct vtn_switch); in vtn_process_block()
Dvtn_variables.c394 struct vtn_pointer *ptr = rzalloc(b, struct vtn_pointer); in vtn_pointer_dereference()
467 struct vtn_pointer *ptr = rzalloc(b, struct vtn_pointer); in vtn_pointer_dereference()
1733 struct vtn_pointer *ptr = rzalloc(b, struct vtn_pointer); in vtn_pointer_from_ssa()
1900 struct vtn_variable *var = rzalloc(b, struct vtn_variable); in vtn_create_variable()
1905 val->pointer = rzalloc(b, struct vtn_pointer); in vtn_create_variable()
1925 var->var = rzalloc(b->shader, nir_variable); in vtn_create_variable()
1947 var->var = rzalloc(b->shader, nir_variable); in vtn_create_variable()
1963 var->var = rzalloc(b->shader, nir_variable); in vtn_create_variable()
1971 var->var = rzalloc(b->shader, nir_variable); in vtn_create_variable()
2419 struct vtn_type *ptr_type = rzalloc(b, struct vtn_type); in vtn_handle_variables()
[all …]
/third_party/mesa3d/src/intel/perf/
Dintel_perf_setup.h35 struct intel_perf_query_info *query = rzalloc(perf, struct intel_perf_query_info); in intel_query_alloc()

1234567