Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c150 info->cols = (uint8_t)glsl_get_components(type); in get_additional_semantic_info()
287 assert(glsl_get_components(type) == 4); in get_semantic_name()
293 assert(glsl_get_components(var->type) == 1); in get_semantic_name()
299 assert(glsl_get_components(var->type) == 1); in get_semantic_name()
314 assert(glsl_get_components(var->type) <= 2); in get_semantic_name()
320 assert(glsl_get_components(var->type) <= 4); in get_semantic_name()
326 assert(glsl_get_components(var->type) == 1); in get_semantic_name()
332 assert(glsl_get_components(var->type) == 1); in get_semantic_name()
/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_split_64bit_vec3_and_vec4.c137 unsigned old_components = glsl_get_components( in get_var_pair()
172 unsigned old_components = glsl_get_components( in split_load_deref()
Dnir_lower_io_to_vector.c254 glsl_get_components(glsl_without_array(var->type)); in create_new_io_vars()
507 glsl_get_components(new_deref->type); in nir_lower_io_to_vector_impl()
554 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_split_vars.c577 glsl_get_components(split_type), in split_var_list_arrays()
1008 usage->all_comps = (1 << glsl_get_components(type)) - 1; in get_vec_var_usage()
Dnir_print.c682 glsl_get_components(glsl_without_array(var->type)); in print_var_decl()
1176 (var->data.location_frac + glsl_get_components(var->type)))) && in print_intrinsic_instr()
/third_party/mesa3d/src/imagination/rogue/
Drogue_build_data.c159 size_t components = glsl_get_components(var->type); in collect_io_data_fs()
303 size_t components = glsl_get_components(var->type); in collect_io_data_vs()
328 size_t components = glsl_get_components(var->type); in collect_io_data_vs()
/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()
/third_party/mesa3d/src/compiler/
Dnir_types.h91 unsigned glsl_get_components(const struct glsl_type *type);
Dnir_types.cpp157 glsl_get_components(const struct glsl_type *type) in glsl_get_components() function
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c223 const unsigned int elements = glsl_get_components(element_type); in set_uniform_initializer()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_point_sprite.c193 unsigned num_channels = glsl_get_components(state->point_coord_out[j]->type); in lower_emit_vertex()
Dd3d12_pipeline_state.cpp88 glsl_get_length(var->type) : glsl_get_components(var->type); in find_so_variable()
Dd3d12_nir_passes.c1109 unsigned num_comps = glsl_get_components(deref->type); in write_0()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c129 sf->reg[sf->num_reg].num_components = glsl_get_components(var->type); in etna_emit_output()
1101 sf->reg[idx].num_components = glsl_get_components(var->type); in etna_compile_shader()
1110 sf->reg[idx].num_components = glsl_get_components(var->type); in etna_compile_shader()
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c102 unsigned chan = glsl_get_components(column); in collect_varyings()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c514 v->components += glsl_get_components(var->type); in gpir_compile_nir()
/third_party/mesa3d/src/broadcom/compiler/
Dvir.c989 glsl_get_components(var->type)); in v3d_fixup_fs_output_types()
993 glsl_get_components(var->type)); in v3d_fixup_fs_output_types()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_program.c188 glsl_get_components(var->type); in precompile_all_outputs()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c785 ctx->f->inputs[n].ncomp = glsl_get_components(in->type); in setup_input()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_opencl.c80 unsigned num_elements = glsl_get_components(type); in vtn_opencl_mangle()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c526 for (unsigned i = 0; i < glsl_get_components(type); i++) { in copy_const_initializer()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c1568 unsigned chan = glsl_get_components(column); in agx_remap_varyings_fs()

12