Home
last modified time | relevance | path

Searched refs:glsl_get_vector_elements (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c165 unsigned num_components = glsl_get_vector_elements(val->type); in vtn_undef_ssa_value()
174 glsl_get_vector_elements(type)); in vtn_undef_ssa_value()
218 unsigned num_components = glsl_get_vector_elements(val->type); in vtn_const_ssa_value()
228 unsigned rows = glsl_get_vector_elements(val->type); in vtn_const_ssa_value()
1064 glsl_get_vector_elements(base->type), in vtn_handle_type()
1515 unsigned len0 = glsl_get_vector_elements(v0->type->type); in vtn_handle_constant()
1516 unsigned len1 = glsl_get_vector_elements(v1->type->type); in vtn_handle_constant()
1682 unsigned num_components = glsl_get_vector_elements(val->type->type); in vtn_handle_constant()
2133 vtn_assert(glsl_get_vector_elements(ret_type->type) == in vtn_handle_texture()
2243 unsigned dim = glsl_get_vector_elements(coord->type); in get_image_coord()
[all …]
Dvtn_glsl450.c93 unsigned size = glsl_get_vector_elements(src->type); in build_mat_det()
146 unsigned size = glsl_get_vector_elements(src->type); in matrix_inverse()
750 intrin->num_components = glsl_get_vector_elements(dest_type); in handle_glsl450_interpolation()
752 glsl_get_vector_elements(dest_type), in handle_glsl450_interpolation()
Dvtn_variables.c491 intrin->num_components = glsl_get_vector_elements(tail->type); in _vtn_local_load_store()
681 unsigned cols = type->row_major ? glsl_get_vector_elements(type->type) : in vtn_type_block_size()
689 return glsl_get_vector_elements(type->type) * 8; in vtn_type_block_size()
691 return glsl_get_vector_elements(type->type) * 4; in vtn_type_block_size()
750 instr->num_components = glsl_get_vector_elements(type); in _vtn_load_store_tail()
824 num_ops = glsl_get_vector_elements(type->type); in _vtn_block_load_store()
837 vec_width = glsl_get_vector_elements(type->type); in _vtn_block_load_store()
853 unsigned elems = glsl_get_vector_elements(type->type); in _vtn_block_load_store()
Dvtn_alu.c70 unsigned src0_rows = glsl_get_vector_elements(src0->type); in matrix_multiply()
217 if (glsl_get_vector_elements(dest->type) == src->num_components) { in vtn_handle_bitcast()
245 unsigned dest_components = glsl_get_vector_elements(dest->type); in vtn_handle_bitcast()
/external/mesa3d/src/compiler/nir/
Dnir_builder.h531 const unsigned num_components = glsl_get_vector_elements(var->type); in nir_load_var()
547 const unsigned num_components = glsl_get_vector_elements(type); in nir_load_deref_var()
563 const unsigned num_components = glsl_get_vector_elements(var->type); in nir_store_var()
579 glsl_get_vector_elements(nir_deref_tail(&deref->deref)->type); in nir_store_deref_var()
Dnir_linking_helpers.c228 glsl_get_vector_elements(glsl_without_array(type)); in get_slot_component_masks_and_interp_types()
396 if (glsl_get_vector_elements(type) != 1) in compact_components()
Dnir_lower_var_copies.c119 unsigned num_components = glsl_get_vector_elements(src_tail->type); in emit_copy_load_store()
Dnir_lower_vars_to_ssa.c562 glsl_get_vector_elements(node->type)); in rename_variables()
727 glsl_get_vector_elements(node->type), in nir_lower_vars_to_ssa_impl()
Dnir_lower_locals_to_regs.c115 reg->num_components = glsl_get_vector_elements(tail->type); in get_reg_for_deref()
Dnir_lower_io_arrays_to_elements.c149 glsl_get_vector_elements(type)); in lower_array()
Dnir_validate.c517 validate_assert(state, instr->num_components == glsl_get_vector_elements(type)); in validate_intrinsic_instr()
526 validate_assert(state, instr->num_components == glsl_get_vector_elements(type)); in validate_intrinsic_instr()
Dnir_opt_copy_prop_vars.c385 unsigned num_components = glsl_get_vector_elements(type); in load_from_ssa_entry_value()
Dnir_print.c294 const unsigned rows = glsl_get_vector_elements(type); in print_constant()
Dnir.c873 nir_load_const_instr_create(shader, glsl_get_vector_elements(tail->type), in nir_deref_get_const_initializer_load()
/external/mesa3d/src/compiler/
Dnir_types.h64 unsigned glsl_get_vector_elements(const struct glsl_type *type);
Dnir_types.cpp91 glsl_get_vector_elements(const struct glsl_type *type) in glsl_get_vector_elements() function
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c471 for (int i = 0; i < glsl_get_vector_elements(var->type); i++) { in emit_fragment_input()
961 int num_components = glsl_get_vector_elements(var->type); in emit_frag_end()
1331 for (int i = 0; i < glsl_get_vector_elements(var->type); i++) { in ntq_setup_outputs()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c342 unsigned vector_elements = glsl_get_vector_elements(glsl_without_array(variable->type)); in si_nir_scan_shader()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c865 store->num_components = glsl_get_vector_elements(var->type); in ptn_add_output_stores()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c3395 glsl_get_vector_elements( in visit_store_var()
5699 glsl_get_vector_elements(type)); in glsl_to_llvm_type()