Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp116 v->Name = ralloc_strdup(mem_ctx, name); in visit_field()
121 v->IndexName = ralloc_strdup(mem_ctx, name); in visit_field()
281 blocks[i].name.string = ralloc_strdup(blocks, name); in process_block_array_leaf()
379 char *name = ralloc_strdup(NULL, in create_buffer_blocks()
561 linked_block->name.string = ralloc_strdup(*linked_blocks, linked_block->name.string); in link_cross_validate_uniform_block()
569 ubo_var->Name = ralloc_strdup(*linked_blocks, ubo_var->Name); in link_cross_validate_uniform_block()
572 ubo_var->Name = ralloc_strdup(*linked_blocks, ubo_var->Name); in link_cross_validate_uniform_block()
573 ubo_var->IndexName = ralloc_strdup(*linked_blocks, ubo_var->IndexName); in link_cross_validate_uniform_block()
Dlink_uniforms.cpp51 char *name_copy = ralloc_strdup(NULL, name); in process()
91 char *name = ralloc_strdup(NULL, var->name); in process()
96 char *name = ralloc_strdup(NULL, t_without_array->name); in process()
Dserialize.cpp91 subs[j].name.string = ralloc_strdup(prog, blob_read_string (metadata)); in read_subroutines()
164 b->name.string = ralloc_strdup(prog->data, blob_read_string (metadata)); in read_buffer_block()
175 b->Uniforms[j].Name = ralloc_strdup(prog->data, in read_buffer_block()
182 b->Uniforms[j].IndexName = ralloc_strdup(prog->data, index_name); in read_buffer_block()
407 ltf->Varyings[i].name.string = ralloc_strdup(prog, blob_read_string(metadata)); in read_xfb()
520 uniforms[i].name.string = ralloc_strdup(prog, blob_read_string (metadata)); in read_uniforms()
929 var->name.string = ralloc_strdup(prog, blob_read_string(metadata)); in read_program_resource_data()
1236 glprog->info.name = ralloc_strdup(glprog, blob_read_string(metadata)); in create_linked_shader_and_program()
1237 glprog->info.label = ralloc_strdup(glprog, blob_read_string(metadata)); in create_linked_shader_and_program()
Dgl_nir_linker.c241 out->name.string = ralloc_strdup(shProg, "gl_VertexID"); in create_shader_variable()
246 out->name.string = ralloc_strdup(shProg, "gl_TessLevelOuter"); in create_shader_variable()
252 out->name.string = ralloc_strdup(shProg, "gl_TessLevelInner"); in create_shader_variable()
255 out->name.string = ralloc_strdup(shProg, name); in create_shader_variable()
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()
Dgl_nir_link_varyings.c110 (*varying_names)[(*count)++] = ralloc_strdup(mem_ctx, *name); in create_xfb_varying_names()
170 name = ralloc_strdup(NULL, glsl_get_type_name(type_wa)); in process_xfb_layout_qualifiers()
174 name = ralloc_strdup(NULL, var->name); in process_xfb_layout_qualifiers()
656 ralloc_strdup(prog, xfb_decl->orig_name); in xfb_decl_store()
1827 ralloc_strdup(state->mem_ctx, *name), in tfeedback_candidate_generator()
1883 ralloc_strdup(mem_ctx, input_var->name), in populate_consumer_input_sets()
2436 name = ralloc_strdup(NULL, output_var->name); in assign_initial_varying_locations()
2438 name = ralloc_strdup(NULL, glsl_get_type_name(glsl_without_array(type))); in assign_initial_varying_locations()
2440 name = ralloc_strdup(NULL, output_var->name); in assign_initial_varying_locations()
2532 ralloc_strdup(mem_ctx, new_var->name), in assign_initial_varying_locations()
Ds_expression.cpp146 char *symbol_buffer = ralloc_strdup(ctx, src); in read_expression()
Dshader_cache.cpp162 char *buf = ralloc_strdup(NULL, "vb: "); in shader_cache_read_program_metadata()
Dgl_nir_lower_xfb_varying.c57 new_name = ralloc_strdup(mem_ctx, name); in generate_new_name()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_validator.cpp324 *error = ralloc_strdup(val, str); in dxil_validate_module()
355 return ralloc_strdup(val, str); in dxil_disasm_module()
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c162 group->name = ralloc_strdup(group, name); in create_group()
182 char *tmp = ralloc_strdup(mem_ctx, atts[i + 1]); in create_group()
224 e->name = ralloc_strdup(e, name); in create_enum()
325 field->name = ralloc_strdup(field, atts[i + 1]); in create_field()
366 value->name = ralloc_strdup(value, atts[i + 1]); in create_value()
784 ralloc_strdup(spec, path), in intel_group_find_field()
/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.c157 nvar->name = ralloc_strdup(nvar, var->name); in nir_variable_clone()
775 ns->info.name = ralloc_strdup(ns, ns->info.name); in nir_shader_clone()
777 ns->info.label = ralloc_strdup(ns, ns->info.label); in nir_shader_clone()
/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.c104 stream->msg = ralloc_strdup(stream, ""); in _mesa_log_stream_create()
Dralloc.h320 char *ralloc_strdup(const void *ctx, const char *str) MALLOCLIKE;
/third_party/mesa3d/src/intel/compiler/
Dbrw_simd_selection.c109 *error = ralloc_strdup( in brw_simd_should_compile()
Dbrw_vec4_tcs.cpp460 params->error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tcs()
486 params->error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tcs()
Dbrw_shader.cpp1356 params->error_str = ralloc_strdup(mem_ctx, "DS outputs exceed maximum size"); in brw_compile_tes()
1421 params->error_str = ralloc_strdup(mem_ctx, v.fail_msg); in brw_compile_tes()
1448 params->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.cpp75 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
98 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
124 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
132 this->fields.structure[i].name = ralloc_strdup(this->fields.structure, in glsl_type()
154 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type()
159 this->fields.structure[i].name = ralloc_strdup(this->fields.structure, in glsl_type()
178 this->name = ralloc_strdup(this->mem_ctx, ""); in glsl_type()
208 this->name = ralloc_strdup(this->mem_ctx, subroutine_name); in glsl_type()

123