Home
last modified time | relevance | path

Searched refs:glsl_get_matrix_columns (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/compiler/spirv/
Dvtn_alu.c73 unsigned src0_columns = glsl_get_matrix_columns(src0->type); in matrix_multiply()
74 unsigned src1_columns = glsl_get_matrix_columns(src1->type); in matrix_multiply()
146 for (unsigned i = 0; i < glsl_get_matrix_columns(mat->type); i++) { in mat_times_scalar()
195 for (int i = 0; i < glsl_get_matrix_columns(src->type); i++) in vtn_mediump_downconvert_value()
210 unsigned cols = glsl_get_matrix_columns(src0->type); in vtn_handle_matrix_alu()
218 unsigned cols = glsl_get_matrix_columns(src0->type); in vtn_handle_matrix_alu()
227 unsigned cols = glsl_get_matrix_columns(src0->type); in vtn_handle_matrix_alu()
588 for (int i = 0; i < glsl_get_matrix_columns(value->type); i++) in vtn_mediump_upconvert_value()
Dspirv_to_nir.c3872 for (unsigned i = 0; i < glsl_get_matrix_columns(dest->type); i++) { in vtn_ssa_transpose()
3876 unsigned cols = glsl_get_matrix_columns(src->type); in vtn_ssa_transpose()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_const_arrays_to_uniforms.c102 if (glsl_type_is_matrix(type) && glsl_get_matrix_columns(type) > 1) { in rebuild_const_array_initialiser()
103 ret->num_elements = glsl_get_matrix_columns(type); in rebuild_const_array_initialiser()
Dnir_lower_io_arrays_to_elements.c70 glsl_get_matrix_columns(glsl_without_array((*p)->type)) : 1; in get_io_offset()
101 glsl_get_matrix_columns(glsl_without_array(type)) : 1; in get_array_elements()
Dnir_lower_system_values.c224 unsigned num_cols = glsl_get_matrix_columns(var->type); in lower_system_value_instr()
Dnir_print.c413 const unsigned cols = glsl_get_matrix_columns(type); in print_constant()
/third_party/mesa3d/src/compiler/
Dnir_types.h93 unsigned glsl_get_matrix_columns(const struct glsl_type *type);
Dnir_types.cpp163 glsl_get_matrix_columns(const struct glsl_type *type) in glsl_get_matrix_columns() function
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c119 const unsigned n_columns = glsl_get_matrix_columns(type); in copy_constant_to_storage()
Dgl_nir_link_varyings.c328 const unsigned matrix_cols = glsl_get_matrix_columns(element_type); in xfb_decl_assign_location()
384 xfb_decl->matrix_columns = glsl_get_matrix_columns(xfb_decl->matched_candidate->type); in xfb_decl_assign_location()
Dgl_nir_link_uniforms.c681 num_params *= glsl_get_matrix_columns(glsl_without_array(type)); in add_parameter()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c1575 num_components = vec_components * 2 * glsl_get_matrix_columns(type); in rewrite_64bit_type()
1697 for (unsigned idx = 0; idx < glsl_get_matrix_columns(matrix); idx++) { in lower_64bit_vars()
1757 unsigned cols = glsl_get_matrix_columns(matrix); in lower_64bit_vars()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c405 glsl_get_matrix_columns(type)); in get_glsl_type()
1558 assert(real_offset < glsl_get_matrix_columns(bare_type)); in emit_so_outputs()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c5137 glsl_get_matrix_columns(type)); in glsl_to_llvm_type()