Home
last modified time | relevance | path

Searched refs:ralloc_strdup (Results 1 – 25 of 57) sorted by relevance

123

/external/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp114 v->Name = ralloc_strdup(mem_ctx, name); in visit_field()
119 v->IndexName = ralloc_strdup(mem_ctx, name); in visit_field()
275 blocks[i].Name = ralloc_strdup(blocks, name); in process_block_array_leaf()
375 char *name = ralloc_strdup(NULL, in create_buffer_blocks()
557 linked_block->Name = ralloc_strdup(*linked_blocks, linked_block->Name); in link_cross_validate_uniform_block()
564 ubo_var->Name = ralloc_strdup(*linked_blocks, ubo_var->Name); in link_cross_validate_uniform_block()
567 ubo_var->Name = ralloc_strdup(*linked_blocks, ubo_var->Name); in link_cross_validate_uniform_block()
568 ubo_var->IndexName = ralloc_strdup(*linked_blocks, ubo_var->IndexName); in link_cross_validate_uniform_block()
Dserialize.cpp91 subs[j].name = ralloc_strdup(prog, blob_read_string (metadata)); in read_subroutines()
163 b->Name = ralloc_strdup(prog->data, blob_read_string (metadata)); in read_buffer_block()
173 b->Uniforms[j].Name = ralloc_strdup(prog->data, in read_buffer_block()
180 b->Uniforms[j].IndexName = ralloc_strdup(prog->data, index_name); in read_buffer_block()
378 ltf->Varyings[i].Name = ralloc_strdup(prog, blob_read_string(metadata)); in read_xfb()
486 uniforms[i].name = ralloc_strdup(prog, blob_read_string (metadata)); in read_uniforms()
858 var->name = ralloc_strdup(prog, blob_read_string(metadata)); in read_program_resource_data()
1146 glprog->info.name = ralloc_strdup(glprog, blob_read_string(metadata)); in create_linked_shader_and_program()
1147 glprog->info.label = ralloc_strdup(glprog, blob_read_string(metadata)); in create_linked_shader_and_program()
Dlower_tess_level.cpp122 new_tess_level_outer_var->name = ralloc_strdup(new_tess_level_outer_var, in visit()
139 new_tess_level_inner_var->name = ralloc_strdup(new_tess_level_inner_var, in visit()
Dlink_uniforms.cpp53 char *name_copy = ralloc_strdup(NULL, name); in process()
85 char *name = ralloc_strdup(NULL, var->name); in process()
90 char *name = ralloc_strdup(NULL, t_without_array->name); in process()
589 char *name_copy = ralloc_strdup(NULL, name); in set_opaque_indices()
856 this->uniforms[id].name = ralloc_strdup(this->uniforms, name); in visit_field()
Ds_expression.cpp144 char *symbol_buffer = ralloc_strdup(ctx, src); in read_expression()
Dshader_cache.cpp157 char *buf = ralloc_strdup(NULL, "vb: "); in shader_cache_read_program_metadata()
Dlink_varyings.cpp105 (*varying_names)[(*count)++] = ralloc_strdup(mem_ctx, *name); in create_xfb_varying_names()
173 name = ralloc_strdup(NULL, type_wa->name); in process_xfb_layout_qualifiers()
177 name = ralloc_strdup(NULL, var->name); in process_xfb_layout_qualifiers()
1196 info->Varyings[info->NumVarying].Name = ralloc_strdup(prog, in store()
2156 ralloc_strdup(this->mem_ctx, name), in visit_field()
2232 ralloc_strdup(mem_ctx, input_var->name), in populate_consumer_input_sets()
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c65 nir_function_create(b->shader, ralloc_strdup(b->shader, val->name)); in vtn_cfg_handle_prepass_instruction()
140 param->name = ralloc_strdup(param, val->name); in vtn_cfg_handle_prepass_instruction()
159 param->name = ralloc_strdup(param, val->name); in vtn_cfg_handle_prepass_instruction()
172 param->name = ralloc_strdup(param, val->name); in vtn_cfg_handle_prepass_instruction()
185 param->name = ralloc_strdup(param, val->name); in vtn_cfg_handle_prepass_instruction()
197 param->name = ralloc_strdup(param, val->name); in vtn_cfg_handle_prepass_instruction()
/external/mesa3d/src/intel/common/
Dgen_decoder.c159 group->name = ralloc_strdup(group, name); in create_group()
190 e->name = ralloc_strdup(e, name); in create_enum()
289 field->name = ralloc_strdup(field, atts[i + 1]); in create_field()
313 value->name = ralloc_strdup(value, atts[i + 1]); in create_value()
702 ralloc_strdup(spec, path), in gen_group_find_field()
/external/mesa3d/src/util/
Dxmlconfig.h137 char *dri_options = ralloc_strdup(ctx, ""); in driComputeOptionsSha1()
Dralloc.h258 char *ralloc_strdup(const void *ctx, const char *str) MALLOCLIKE;
/external/mesa3d/src/compiler/
Dglsl_types.cpp64 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
85 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
107 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
113 this->fields.structure[i].name = ralloc_strdup(this->fields.structure, in glsl_type()
135 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
140 this->fields.structure[i].name = ralloc_strdup(this->fields.structure, in glsl_type()
187 this->name = ralloc_strdup(this->mem_ctx, subroutine_name); in glsl_type()
/external/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.c137 char *info_log = ralloc_strdup(ctx, ""); in main()
/external/mesa3d/src/compiler/nir/
Dnir_clone.c152 nvar->name = ralloc_strdup(nvar, var->name); in nir_variable_clone()
201 nreg->name = ralloc_strdup(nreg, reg->name); in clone_register()
769 ns->info.name = ralloc_strdup(ns, ns->info.name); in nir_shader_clone()
771 ns->info.label = ralloc_strdup(ns, ns->info.label); in nir_shader_clone()
Dnir_serialize.c163 var->name = ralloc_strdup(var, name); in read_variable()
232 reg->name = ralloc_strdup(reg, name); in read_register()
1173 info.name = name ? ralloc_strdup(ctx.nir, name) : NULL; in nir_deserialize()
1174 info.label = label ? ralloc_strdup(ctx.nir, label) : NULL; in nir_deserialize()
/external/mesa3d/src/intel/compiler/
Dbrw_shader.cpp1178 *error_str = ralloc_strdup(mem_ctx, "DS outputs exceed maximum size"); in brw_compile_tes()
1247 *error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tes()
1273 *error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tes()
Dbrw_vec4_tcs.cpp470 *error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tcs()
496 *error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tcs()
Dbrw_disasm_info.c191 cur->error = ralloc_strdup(disasm, error); in disasm_insert_error()
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c62 b.shader->info.name = ralloc_strdup(b.shader, "BLORP-clear"); in blorp_params_get_clear_kernel()
123 b.shader->info.name = ralloc_strdup(b.shader, "BLORP-layer-offset-vs"); in blorp_params_get_layer_offset_vs()
806 b.shader->info.name = ralloc_strdup(b.shader, "BLORP-mcs-partial-resolve"); in blorp_params_get_mcs_partial_resolve_kernel()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c41 b.shader->info.name = ralloc_strdup(b.shader, "meta_blit_vs"); in build_nir_vertex_shader()
112 b.shader->info.name = ralloc_strdup(b.shader, shader_name); in build_nir_copy_fragment_shader()
166 b.shader->info.name = ralloc_strdup(b.shader, shader_name); in build_nir_copy_fragment_shader_depth()
220 b.shader->info.name = ralloc_strdup(b.shader, shader_name); in build_nir_copy_fragment_shader_stencil()
Dradv_meta_blit2d.c372 b.shader->info.name = ralloc_strdup(b.shader, "meta_blit2d_vs"); in build_nir_vertex_shader()
531 b.shader->info.name = ralloc_strdup(b.shader, name); in build_nir_copy_fragment_shader()
560 b.shader->info.name = ralloc_strdup(b.shader, name); in build_nir_copy_fragment_shader_depth()
589 b.shader->info.name = ralloc_strdup(b.shader, name); in build_nir_copy_fragment_shader_stencil()
Dradv_meta_resolve_fs.c41 b.shader->info.name = ralloc_strdup(b.shader, "meta_resolve_vs"); in build_nir_vertex_shader()
67 b.shader->info.name = ralloc_strdup(b.shader, name); in build_resolve_fragment_shader()
Dradv_meta_buffer.c19 b.shader->info.name = ralloc_strdup(b.shader, "meta_buffer_fill"); in build_buffer_fill_shader()
71 b.shader->info.name = ralloc_strdup(b.shader, "meta_buffer_copy"); in build_buffer_copy_shader()
Dradv_meta_bufimage.c49 b.shader->info.name = ralloc_strdup(b.shader, is_3d ? "meta_itob_cs_3d" : "meta_itob_cs"); in build_nir_itob_compute_shader()
275 b.shader->info.name = ralloc_strdup(b.shader, is_3d ? "meta_btoi_cs_3d" : "meta_btoi_cs"); in build_nir_btoi_compute_shader()
495 b.shader->info.name = ralloc_strdup(b.shader, is_3d ? "meta_itoi_cs_3d" : "meta_itoi_cs"); in build_nir_itoi_compute_shader()
707 b.shader->info.name = ralloc_strdup(b.shader, is_3d ? "meta_cleari_cs_3d" : "meta_cleari_cs"); in build_nir_cleari_compute_shader()
/external/mesa3d/src/mesa/main/
Dpipelineobj.c896 ralloc_strdup(pipe, in _mesa_validate_program_pipeline()
919 pipe->InfoLog = ralloc_strdup(pipe, "Program lacks a vertex shader"); in _mesa_validate_program_pipeline()

123