Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp115 v->Name = ralloc_strdup(mem_ctx, name); in visit_field()
120 v->IndexName = ralloc_strdup(mem_ctx, name); in visit_field()
278 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()
Dgl_nir_linker.c116 out->name = ralloc_strdup(shProg, "gl_VertexID"); in create_shader_variable()
121 out->name = ralloc_strdup(shProg, "gl_TessLevelOuter"); in create_shader_variable()
127 out->name = ralloc_strdup(shProg, "gl_TessLevelInner"); in create_shader_variable()
130 out->name = ralloc_strdup(shProg, name); in create_shader_variable()
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()
405 ltf->Varyings[i].Name = ralloc_strdup(prog, blob_read_string(metadata)); in read_xfb()
517 uniforms[i].name = ralloc_strdup(prog, blob_read_string (metadata)); in read_uniforms()
925 var->name = ralloc_strdup(prog, blob_read_string(metadata)); in read_program_resource_data()
1231 glprog->info.name = ralloc_strdup(glprog, blob_read_string(metadata)); in create_linked_shader_and_program()
1232 glprog->info.label = ralloc_strdup(glprog, blob_read_string(metadata)); in create_linked_shader_and_program()
Dlower_tess_level.cpp123 new_tess_level_outer_var->name = ralloc_strdup(new_tess_level_outer_var, in visit()
140 new_tess_level_inner_var->name = ralloc_strdup(new_tess_level_inner_var, in visit()
Ds_expression.cpp146 char *symbol_buffer = ralloc_strdup(ctx, src); in read_expression()
Dlower_xfb_varying.cpp142 new_name = ralloc_strdup(mem_ctx, name); in generate_new_name()
Dshader_cache.cpp162 char *buf = ralloc_strdup(NULL, "vb: "); in shader_cache_read_program_metadata()
Dlink_uniforms.cpp268 char *name_copy = ralloc_strdup(NULL, name); in process()
308 char *name = ralloc_strdup(NULL, var->name); in process()
313 char *name = ralloc_strdup(NULL, t_without_array->name); in process()
847 char *name_copy = ralloc_strdup(NULL, name); in set_opaque_indices()
1117 this->uniforms[id].name = ralloc_strdup(this->uniforms, name); in visit_field()
Dlink_varyings.cpp114 (*varying_names)[(*count)++] = ralloc_strdup(mem_ctx, *name); in create_xfb_varying_names()
182 name = ralloc_strdup(NULL, type_wa->name); in process_xfb_layout_qualifiers()
186 name = ralloc_strdup(NULL, var->name); in process_xfb_layout_qualifiers()
1427 info->Varyings[info->NumVarying].Name = ralloc_strdup(prog, in store()
2490 ralloc_strdup(this->mem_ctx, name), in visit_field()
2582 ralloc_strdup(mem_ctx, input_var->name), in populate_consumer_input_sets()
2973 ralloc_strdup(mem_ctx, new_var->name), in assign_varying_locations()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_fragcolor.c77 out->name = ralloc_strdup(out, name); in lower_fragcolor_instr()
Dnir_split_per_member_structs.c78 member_name = ralloc_strdup(dead_ctx, var->name); in split_variable()
Dnir_clone.c156 nvar->name = ralloc_strdup(nvar, var->name); in nir_variable_clone()
757 ns->info.name = ralloc_strdup(ns, ns->info.name); in nir_shader_clone()
759 ns->info.label = ralloc_strdup(ns, ns->info.label); in nir_shader_clone()
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c161 group->name = ralloc_strdup(group, name); in create_group()
181 char *tmp = ralloc_strdup(mem_ctx, atts[i + 1]); in create_group()
223 e->name = ralloc_strdup(e, name); in create_enum()
322 field->name = ralloc_strdup(field, atts[i + 1]); in create_field()
363 value->name = ralloc_strdup(value, atts[i + 1]); in create_value()
781 ralloc_strdup(spec, path), in intel_group_find_field()
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.c138 char *info_log = ralloc_strdup(ctx, ""); in main()
/third_party/mesa3d/src/util/
Dxmlconfig.h178 char *dri_options = ralloc_strdup(ctx, ""); in driComputeOptionsSha1()
Dlog.c103 stream->msg = ralloc_strdup(stream, ""); in _mesa_log_stream_create()
Dralloc.h320 char *ralloc_strdup(const void *ctx, const char *str) MALLOCLIKE;
Dos_misc.c194 opt = ralloc_strdup(options_tbl, value); in os_get_android_option()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_tcs.cpp466 *error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tcs()
494 *error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tcs()
Dbrw_shader.cpp1366 *error_str = ralloc_strdup(mem_ctx, "DS outputs exceed maximum size"); in brw_compile_tes()
1429 *error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tes()
1457 *error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tes()
Dbrw_disasm_info.c203 cur->error = ralloc_strdup(disasm, error); in disasm_insert_error()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_debug_fp.c286 char *stream = ralloc_strdup(NULL, ""); in i915_disassemble_program()
/third_party/mesa3d/src/intel/tools/
Di965_lex.l390 yylval.string = ralloc_strdup(p->mem_ctx, yytext);
398 yylval.string = ralloc_strdup(p->mem_ctx, yytext);
/third_party/mesa3d/src/compiler/
Dglsl_types.cpp76 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
99 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
125 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
133 this->fields.structure[i].name = ralloc_strdup(this->fields.structure, in glsl_type()
155 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
160 this->fields.structure[i].name = ralloc_strdup(this->fields.structure, in glsl_type()
179 this->name = ralloc_strdup(this->mem_ctx, ""); in glsl_type()
209 this->name = ralloc_strdup(this->mem_ctx, subroutine_name); in glsl_type()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c483 mod->inputs[num_inputs].name = ralloc_strdup(mod->ralloc_ctx, in get_input_signature_group()
579 mod->outputs[num_outputs].name = ralloc_strdup(mod->ralloc_ctx, in get_output_signature()

123