Home
last modified time | relevance | path

Searched refs:glsl_get_components (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_array_deref_of_vec.c32 unsigned num_components = glsl_get_components(vec_deref->type); in build_write_masked_store()
104 unsigned num_components = glsl_get_components(vec_deref->type); in nir_lower_array_deref_of_vec_impl()
Dnir_lower_io_to_vector.c254 glsl_get_components(glsl_without_array(var->type)); in create_new_io_vars()
506 glsl_get_components(new_deref->type); in nir_lower_io_to_vector_impl()
553 glsl_get_components(new_deref->type); in nir_lower_io_to_vector_impl()
Dnir_opt_find_array_copies.c594 (1 << glsl_get_components(dst_deref->type)) - 1) { in opt_find_array_copies_block()
Dnir_print.c577 glsl_get_components(glsl_without_array(var->type)); in print_var_decl()
1041 (var->data.location_frac + glsl_get_components(var->type)))) && in print_intrinsic_instr()
Dnir_split_vars.c588 glsl_get_components(split_type), in split_var_list_arrays()
1019 usage->all_comps = (1 << glsl_get_components(type)) - 1; in get_vec_var_usage()
Dnir_opt_load_store_vectorize.c625 if (glsl_get_components(deref->type) == num_components && in cast_deref()
Dnir.h4322 nir_ssa_dest_init(instr, dest, glsl_get_components(type), in nir_ssa_dest_init_for_type()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c154 info->cols = (uint8_t)glsl_get_components(type); in get_additional_semantic_info()
254 assert(glsl_get_components(type) == 4); in get_semantic_name()
260 assert(glsl_get_components(var->type) == 1); in get_semantic_name()
266 assert(glsl_get_components(var->type) == 1); in get_semantic_name()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_vectorize_vs_inputs.c413 for (unsigned n = 0; n < glsl_get_components(vars[i][j]->type); ++n) in r600_create_new_io_vars()
416 for (unsigned n = 0; n < glsl_get_components(vars[i][k]->type); ++n) in r600_create_new_io_vars()
Dsfn_nir_lower_fs_out_to_vector.cpp185 for (unsigned n = 0; n < glsl_get_components(m_vars[i][j]->type); ++n) in create_new_io_vars()
188 for (unsigned n = 0; n < glsl_get_components(m_vars[i][k]->type); ++n) in create_new_io_vars()
Dsfn_vertexstageexport.cpp92 io.write_mask = ((1 << glsl_get_components(output->type)) - 1) in do_process_outputs()
/third_party/mesa3d/src/compiler/
Dnir_types.h88 unsigned glsl_get_components(const struct glsl_type *type);
Dnir_types.cpp138 glsl_get_components(const struct glsl_type *type) in glsl_get_components() function
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c222 const unsigned int elements = glsl_get_components(element_type); in set_uniform_initializer()
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c101 unsigned chan = glsl_get_components(column); in collect_varyings()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c128 sf->reg[sf->num_reg].num_components = glsl_get_components(var->type); in etna_emit_output()
1098 sf->reg[idx].num_components = glsl_get_components(var->type); in etna_compile_shader_nir()
1107 sf->reg[idx].num_components = glsl_get_components(var->type); in etna_compile_shader_nir()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c517 v->components += glsl_get_components(var->type); in gpir_compile_nir()
/third_party/mesa3d/src/broadcom/compiler/
Dvir.c965 glsl_get_components(var->type)); in v3d_fixup_fs_output_types()
969 glsl_get_components(var->type)); in v3d_fixup_fs_output_types()
Dnir_to_vir.c1960 int num_components = glsl_get_components(var->type); in ntq_setup_vs_inputs()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_program.c188 glsl_get_components(var->type); in precompile_all_outputs()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_opencl.c79 unsigned num_elements = glsl_get_components(type); in vtn_opencl_mangle()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c782 ctx->f->inputs[n].ncomp = glsl_get_components(in->type); in setup_input()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c530 for (unsigned i = 0; i < glsl_get_components(type); i++) { in copy_const_initializer()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c1326 unsigned chan = glsl_get_components(column); in agx_remap_varyings_fs()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c550 if (glsl_get_components(var->type) == output->num_components) { in update_so_info()

12