/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_assembler.c | 35 struct ir3_shader *shader = rzalloc_size(NULL, sizeof(*shader)); in ir3_parse_asm() 40 struct ir3_shader_variant *v = rzalloc_size(shader, sizeof(*v)); in ir3_parse_asm() 43 v->const_state = rzalloc_size(v, sizeof(*v->const_state)); in ir3_parse_asm()
|
D | ir3_disk_cache.c | 133 v->bin = rzalloc_size(v, v->info.size); in retrieve_variant() 170 struct ir3_shader_variant *v = rzalloc_size(mem_ctx, sizeof(*v)); in ir3_retrieve_variant() 180 v->const_state = rzalloc_size(v, sizeof(*v->const_state)); in ir3_retrieve_variant() 185 v->binning = rzalloc_size(v, sizeof(*v->binning)); in ir3_retrieve_variant()
|
D | ir3_shader.c | 324 struct ir3_shader_variant *v = rzalloc_size(mem_ctx, sizeof(*v)); in alloc_variant() 381 v->const_state = rzalloc_size(v, sizeof(*v->const_state)); in alloc_variant() 665 struct ir3_shader *shader = rzalloc_size(NULL, sizeof(*shader)); in ir3_shader_from_nir()
|
/third_party/mesa3d/src/util/ |
D | ralloc.h | 79 #define rzalloc(ctx, type) ((type *) rzalloc_size(ctx, sizeof(type))) 108 void *rzalloc_size(const void *ctx, size_t size) MALLOCLIKE; 522 DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, rzalloc_size)
|
D | ralloc.c | 145 rzalloc_size(const void *ctx, size_t size) in rzalloc_size() function 201 return rzalloc_size(ctx, new_size); in rerzalloc_size() 227 return rzalloc_size(ctx, size * count); in rzalloc_array_size()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_disk_cache.c | 125 shader->shader = rzalloc_size(shader, shader->state.shader_size); in lima_vs_disk_cache_retrieve() 129 shader->constant = rzalloc_size(shader, shader->state.constant_size); in lima_vs_disk_cache_retrieve() 177 shader->shader = rzalloc_size(shader, shader->state.shader_size); in lima_fs_disk_cache_retrieve()
|
D | lima_program.c | 382 dup_key = rzalloc_size(fs, key_size); in lima_get_compiled_fs() 554 dup_key = rzalloc_size(vs, key_size); in lima_get_compiled_vs()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_blend.c | 74 so = rzalloc_size(blend, sizeof(*so)); in __fd6_setup_blend_variant() 154 so = rzalloc_size(NULL, sizeof(*so)); in fd6_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cmdline.c | 419 struct ir3_shader *shader = rzalloc_size(NULL, sizeof(*shader)); in main() 426 struct ir3_shader_variant *v = rzalloc_size(shader, sizeof(*v)); in main() 430 v->const_state = rzalloc_size(v, sizeof(*v->const_state)); in main()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_autotune.c | 66 history = rzalloc_size(at->ht, sizeof(*history)); in get_history() 106 struct fd_batch_result *result = rzalloc_size(history, sizeof(*result)); in get_result()
|
/third_party/mesa3d/src/imagination/rogue/ |
D | rogue_compiler.c | 47 compiler = rzalloc_size(NULL, sizeof(*compiler)); in rogue_compiler_create()
|
D | rogue_regalloc.c | 71 ra = rzalloc_size(mem_ctx, sizeof(*ra)); in rogue_ra_init() 172 range = rzalloc_size(reg_ht, sizeof(*range)); in rogue_ra_alloc()
|
D | rogue_shader.c | 76 shader = rzalloc_size(ctx, sizeof(*shader)); in rogue_shader_create()
|
D | rogue_instr.c | 85 instr = rzalloc_size(mem_ctx, sizeof(*instr)); in rogue_instr_create()
|
D | rogue.c | 132 binary = rzalloc_size(ctx, sizeof(*binary) + buf_size); in rogue_to_binary() 775 ctx = rzalloc_size(compiler, sizeof(*ctx)); in rogue_create_build_context()
|
/third_party/mesa3d/src/compiler/isaspec/ |
D | decode.c | 253 struct decode_scope *scope = rzalloc_size(state, sizeof(*scope)); in push_scope() 776 state = rzalloc_size(NULL, sizeof(*state)); in isa_decode() 781 state->branch_targets = rzalloc_size(state, in isa_decode()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_cl.c | 31 cl->base = rzalloc_size(job, 1); /* TODO: don't use rzalloc */ in vc4_init_cl()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_gather_xfb_info.c | 51 return rzalloc_size(mem_ctx, nir_xfb_info_size(output_count)); in nir_xfb_info_create() 63 return rzalloc_size(mem_ctx, nir_xfb_varyings_info_size(varying_count)); in nir_xfb_varyings_info_create()
|
D | nir_phi_builder.c | 123 val = rzalloc_size(pb, sizeof(*val)); in nir_phi_builder_add_value()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_xfb.c | 206 rzalloc_size(mem_ctx, nir_xfb_info_size(info->NumOutputs)); in gl_to_nir_xfb_info()
|
/third_party/mesa3d/src/freedreno/isa/ |
D | encode.c | 332 ptr = instrs = rzalloc_size(v, info->size); in isa_assemble()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_disk_cache.c | 167 shader->prog_data.base = rzalloc_size(shader, prog_data_size); in v3d_disk_cache_retrieve()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_program_cache.c | 134 rzalloc_size(mem_ctx, sizeof(struct iris_compiled_shader) + in iris_create_shader_variant()
|
/third_party/mesa3d/src/broadcom/qpu/ |
D | qpu_disasm.c | 321 .string = rzalloc_size(NULL, 1), in v3d_qpu_decode()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_program_cache.c | 198 rzalloc_size(cache, sizeof(struct crocus_compiled_shader)); in crocus_upload_shader()
|