Home
last modified time | relevance | path

Searched refs:ralloc_asprintf (Results 1 – 25 of 61) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir.c363 return ralloc_asprintf(NULL, "0x%08x / %f", data, uif(data)); in qir_describe_uniform()
367 return ralloc_asprintf(NULL, "unif[%d] = 0x%08x / %f", in qir_describe_uniform()
370 return ralloc_asprintf(NULL, "unif[%d]", data); in qir_describe_uniform()
377 return ralloc_asprintf(NULL, "%s[%d]", in qir_describe_uniform()
383 return ralloc_asprintf(NULL, "%s", in qir_describe_uniform()
386 return ralloc_asprintf(NULL, "??? %d", contents); in qir_describe_uniform()
Dvc4_screen.c85 screen->name = ralloc_asprintf(screen, in vc4_screen_get_name()
/third_party/mesa3d/src/compiler/glsl/
Dlower_packed_varyings.cpp535 = ralloc_asprintf(this->mem_ctx, "%s.%s", name, field_name); in lower_rvalue()
598 = ralloc_asprintf(this->mem_ctx, "%s.%s", name, right_swizzle_name); in lower_rvalue()
601 = ralloc_asprintf(this->mem_ctx, "%s.%s", name, left_swizzle_name); in lower_rvalue()
689 = ralloc_asprintf(this->mem_ctx, "%s[%d]", name, i); in lower_arraylike()
719 char *packed_name = ralloc_asprintf(this->mem_ctx, "packed:%s", name); in get_packed_varying_deref()
766 var->name = ralloc_asprintf(var, "%s,%s", var->name, name); in get_packed_varying_deref()
Dgl_nir_lower_buffers.c54 block_name = ralloc_asprintf(b->shader, "[%u]%s", arr_index, in get_block_array_index()
68 block_name = ralloc_asprintf(b->shader, "[0]%s", block_name); in get_block_array_index()
77 block_name = ralloc_asprintf(b->shader, "%s%s", in get_block_array_index()
Dlink_uniform_initializers.cpp113 const char *element_name = ralloc_asprintf(mem_ctx, "%s[%d]", name, i); in set_opaque_binding()
196 const char *field_name = ralloc_asprintf(mem_ctx, "%s.%s", name, in set_uniform_initializer()
208 const char *element_name = ralloc_asprintf(mem_ctx, "%s[%d]", name, i); in set_uniform_initializer()
Dglsl_symbol_table.cpp209 char *name = ralloc_asprintf(mem_ctx, "#default_precision_%s", type_name); in add_default_precision_qualifier()
258 char *name = ralloc_asprintf(mem_ctx, "#default_precision_%s", type_name); in get_default_precision_qualifier()
Dlower_named_interface_blocks.cpp158 ralloc_asprintf(mem_ctx, "%s %s.%s.%s", in run()
291 ralloc_asprintf(mem_ctx, "%s %s.%s.%s", in handle_rvalue()
Dlower_const_arrays_to_uniforms.cpp109 char *uniform_name = ralloc_asprintf(mem_ctx, "constarray_%x_%u", in handle_rvalue()
Dgl_nir_linker.c219 name = ralloc_asprintf(shProg, "%s.%s", interface_name, name); in add_shader_variable()
243 char *field_name = ralloc_asprintf(shProg, "%s.%s", name, field->name); in add_shader_variable()
279 char *elem = ralloc_asprintf(shProg, "%s[%d]", name, i); in add_shader_variable()
Dir_print_visitor.cpp120 return ralloc_asprintf(this->mem_ctx, "parameter@%u", arg++); in unique_name()
137 name = ralloc_asprintf(this->mem_ctx, "%s@%u", var->name, ++i); in unique_name()
Dopt_structure_splitting.cpp339 const char *name = ralloc_asprintf(mem_ctx, "%s_%s", entry->var->name, in do_structure_splitting()
Dgl_nir_lower_samplers_as_deref.c151 char *name = ralloc_asprintf(state->remap_table, "lower@%s", var->name); in lower_deref()
Dopt_array_splitting.cpp473 const char *name = ralloc_asprintf(mem_ctx, "%s_%d", in optimize_split_arrays()
/third_party/mesa3d/src/compiler/nir/
Dnir_split_per_member_structs.c86 member_name = ralloc_asprintf(dead_ctx, "%s.%s", in split_variable()
89 member_name = ralloc_asprintf(dead_ctx, "%s.@%d", member_name, i); in split_variable()
Dnir_split_vars.c130 field_name = ralloc_asprintf(state->mem_ctx, "%s_%s", name, in init_field_for_type()
133 field_name = ralloc_asprintf(state->mem_ctx, "{unnamed %s}_%s", in init_field_for_type()
523 name = ralloc_asprintf(mem_ctx, "%s[*]", name); in create_split_array_vars()
531 name = ralloc_asprintf(mem_ctx, "(%s)", name); in create_split_array_vars()
548 ralloc_asprintf(mem_ctx, "%s[%d]", name, i), in create_split_array_vars()
Dnir_lower_two_sided_color.c58 var->name = ralloc_asprintf(var, "in_%d", var->data.driver_location); in create_input()
Dnir_lower_io_to_temporaries.c306 temp->name = ralloc_asprintf(var, "%s@%s-temp", mode, nvar->name); in create_shadow_temp()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c48 fields[0].name = ralloc_asprintf(nir, "draw_mode_is_indexed"); in create_vs_pushconst()
51 fields[1].name = ralloc_asprintf(nir, "draw_id"); in create_vs_pushconst()
65 fields[0].name = ralloc_asprintf(nir, "work_dim"); in create_cs_pushconst()
622 split[i+1]->name = ralloc_asprintf(nir, "%s_split%u", var->name, i); in decompose_attribs()
1610 fields[0].name = ralloc_asprintf(nir, "padding"); in zink_shader_tcs_create()
1613 fields[1].name = ralloc_asprintf(nir, "gl_TessLevelInner"); in zink_shader_tcs_create()
1616 fields[2].name = ralloc_asprintf(nir, "gl_TessLevelOuter"); in zink_shader_tcs_create()
/third_party/mesa3d/src/util/
Dralloc.h383 char *ralloc_asprintf (const void *ctx, const char *fmt, ...) PRINTFLIKE(2, 3) MALLOCLIKE;
Ddisk_cache_os.c120 new_path = ralloc_asprintf(ctx, "%s/%s", path, name); in concatenate_and_mkdir()
917 path = ralloc_asprintf(mem_ctx, "%s/index", cache->path); in disk_cache_mmap_cache_index()
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c871 ralloc_asprintf(shader, "in_%d", i)); in setup_registers_and_variables()
911 ralloc_asprintf(shader, "sv_%d", i)); in setup_registers_and_variables()
943 ralloc_asprintf(shader, "out_%d", i)); in setup_registers_and_variables()
1017 s->info.name = ralloc_asprintf(s, "ARB%d", prog->Id); in prog_to_nir()
/third_party/mesa3d/src/mesa/main/
Dpipelineobj.c809 pipe->InfoLog = ralloc_asprintf(pipe, in program_stages_all_active()
948 pipe->InfoLog = ralloc_asprintf(pipe, in _mesa_validate_program_pipeline()
Dglspirv.c274 ralloc_asprintf(nir, "SPIRV:%s:%d", in _mesa_spirv_to_nir()
/third_party/mesa3d/src/vulkan/util/
Dvk_log.c111 char *message_idname = ralloc_asprintf(NULL, "%s:%d", file, line); in __vk_log_impl()
/third_party/mesa3d/src/compiler/glsl/tests/
Dvaryings_test.cpp59 return ralloc_asprintf(mem_ctx, in interface_field_name()

123