Home
last modified time | relevance | path

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

12

/external/mesa3d/src/microsoft/compiler/
Ddxil_signature.c271 assert(glsl_get_components(type) == 4); in get_semantic_name()
277 assert(glsl_get_components(type) == 1); in get_semantic_name()
283 assert(glsl_get_components(type) == 1); in get_semantic_name()
298 assert(glsl_get_components(type) <= 2); in get_semantic_name()
304 assert(glsl_get_components(type) <= 4); in get_semantic_name()
310 assert(glsl_get_components(type) == 1); in get_semantic_name()
316 assert(glsl_get_components(type) == 1); in get_semantic_name()
/external/mesa3d/src/compiler/glsl/
Dir.cpp927 for (unsigned i = 0; i < glsl_get_components(type); i++) in ir_constant()
932 for (unsigned i = 0; i < glsl_get_components(type); i++) in ir_constant()
936 for (unsigned i = 0; i < glsl_get_components(type); i++) in ir_constant()
940 for (unsigned i = 0; i < glsl_get_components(type); i++) in ir_constant()
944 for (unsigned i = 0; i < glsl_get_components(type); i++) in ir_constant()
949 for (unsigned i = 0; i < glsl_get_components(type); i++) in ir_constant()
953 for (unsigned i = 0; i < glsl_get_components(type); i++) in ir_constant()
1001 for (unsigned j = 0; j < glsl_get_components(value->type); j++) { in ir_constant()
1040 if (i >= glsl_get_components(type)) in ir_constant()
1044 if (i >= glsl_get_components(type)) in ir_constant()
[all …]
Dopt_minmax.cpp103 unsigned components = MAX2(glsl_get_components(a->type), glsl_get_components(b->type)); in compare_components()
200 for (unsigned i = 0; i < glsl_get_components(c->type); i++) { in combine_constant()
Dir_constant_expression.cpp50 for (unsigned c = 0; c < glsl_get_components(op0->type); c++) in dot_f()
62 for (unsigned c = 0; c < glsl_get_components(op0->type); c++) in dot_d()
824 components = glsl_get_components(op[0]->type); in constant_expression_value()
826 components = glsl_get_components(op[1]->type); in constant_expression_value()
Dast_function.cpp1201 assert(component < glsl_get_components(src->type)); in dereference_component()
1510 const unsigned lhs_components = glsl_get_components(type); in emit_inline_vector_constructor()
1523 unsigned rhs_components = glsl_get_components(param->type); in emit_inline_vector_constructor()
1586 unsigned rhs_components = glsl_get_components(param->type); in emit_inline_vector_constructor()
1649 assert(glsl_get_components(column_ref->type) >= (row_base + count)); in assign_to_matrix_column()
1650 assert(glsl_get_components(src->type) >= (src_base + count)); in assign_to_matrix_column()
1893 unsigned rhs_components = glsl_get_components(rhs->type); in emit_inline_matrix_constructor()
2241 const unsigned type_components = glsl_get_components(constructor_type); in hir()
2283 components_used += glsl_get_components(result->type); in hir()
Dir_validate.cpp857 assert(glsl_get_components(ir->operands[0]->type) == in visit_leave()
858 glsl_get_components(ir->operands[1]->type)); in visit_leave()
897 assert(glsl_get_components(ir->operands[0]->type) == in visit_leave()
898 glsl_get_components(ir->operands[1]->type)); in visit_leave()
910 assert(glsl_get_components(ir->operands[1]->type) == 2); in visit_leave()
Dgl_nir_link_uniform_initializers.c223 const unsigned int elements = glsl_get_components(element_type); in set_uniform_initializer()
Dlower_instructions.cpp113 int nc = glsl_get_components(ir->operands[0]->type); in double_dot_to_fma()
Dir_print_visitor.cpp513 for (unsigned i = 0; i < glsl_get_components(ir->type); i++) { in visit()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_64bit.cpp374 unsigned old_components = glsl_get_components(glsl_without_array(old_var->type)); in split_load_deref_array()
399 unsigned old_components = glsl_get_components(glsl_without_array(old_var->type)); in split_store_deref_array()
436 unsigned old_components = glsl_get_components(glsl_without_array(old_var->type)); in split_store_deref_var()
464 unsigned old_components = glsl_get_components(old_var->type); in split_load_deref_var()
482 assert(glsl_get_components(glsl_without_array(old_var->type)) > 2); in get_var_pair()
489 var2->type = glsl_dvec_type(glsl_get_components(glsl_without_array(old_var->type)) - 2); in get_var_pair()
823 return (glsl_get_components(glsl_without_array(var->type)) != intr->num_components); in filter()
934 unsigned components = glsl_get_components(glsl_without_array(var->type)); in load_deref_64_to_vec2()
968 unsigned components = glsl_get_components(glsl_without_array(var->type)); in store_64_to_vec2()
Dsfn_nir_vectorize_vs_inputs.c393 for (unsigned n = 0; n < glsl_get_components(vars[i][j]->type); ++n) in r600_create_new_io_vars()
396 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.cpp179 for (unsigned n = 0; n < glsl_get_components(m_vars[i][j]->type); ++n) in create_new_io_vars()
182 for (unsigned n = 0; n < glsl_get_components(m_vars[i][k]->type); ++n) in create_new_io_vars()
/external/mesa3d/src/imagination/rogue/
Drogue_build_data.c166 unsigned components = glsl_get_components(var->type); in collect_io_data_fs()
290 unsigned components = glsl_get_components(var->type); in collect_io_data_vs()
/external/mesa3d/src/compiler/nir/
Dnir_split_64bit_vec3_and_vec4.c135 unsigned old_components = glsl_get_components( in get_var_pair()
171 unsigned old_components = glsl_get_components( in split_load_deref()
Dnir_lower_array_deref_of_vec.c74 unsigned num_components = glsl_get_components(vec_deref->type); in nir_lower_array_deref_of_vec_impl()
Dnir_lower_io_to_vector.c511 glsl_get_components(new_deref->type); in nir_lower_io_to_vector_impl()
557 glsl_get_components(new_deref->type); in nir_lower_io_to_vector_impl()
Dnir_opt_find_array_copies.c595 (1 << glsl_get_components(dst_deref->type)) - 1) { in opt_find_array_copies_block()
Dnir_split_vars.c626 glsl_get_components(split_type), in split_var_list_arrays()
1049 usage->all_comps = (1 << glsl_get_components(type)) - 1; in get_vec_var_usage()
/external/mesa3d/src/compiler/
Dglsl_types.c1746 return glsl_get_components(t); in glsl_get_component_slots()
1751 return 2 * glsl_get_components(t); in glsl_get_component_slots()
1798 return glsl_get_components(t); in glsl_get_component_slots_aligned()
1803 unsigned size = 2 * glsl_get_components(t); in glsl_get_component_slots_aligned()
2942 return glsl_get_components(t); in glsl_count_dword_slots()
2949 return DIV_ROUND_UP(glsl_get_components(t), 4); in glsl_count_dword_slots()
2959 return glsl_get_components(t) * 2; in glsl_count_dword_slots()
3726 *size = 4 * glsl_get_components(type); in glsl_get_natural_size_align_bytes()
3742 *size = N * glsl_get_components(type); in glsl_get_natural_size_align_bytes()
3785 *size = 4 * glsl_get_components(type); in glsl_get_word_size_align_bytes()
[all …]
Dglsl_types.h747 glsl_get_components(const glsl_type *t) in glsl_get_components() function
/external/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_point_sprite.c198 unsigned num_channels = glsl_get_components(state->point_coord_out[j]->type); in lower_emit_vertex()
Dd3d12_nir_passes.c951 glsl_get_components(glsl_without_array(var->type)) >= 3) { in d3d12_split_needed_varyings()
954 uint32_t components = glsl_get_components(glsl_without_array(var->type)); in d3d12_split_needed_varyings()
995 unsigned num_comps = glsl_get_components(deref->type); in write_0()
Dd3d12_pipeline_state.cpp105 glsl_get_length(var->type) : glsl_get_components(var->type); in find_so_variable()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c137 sf->reg[sf->num_reg].num_components = glsl_get_components(var->type); in etna_emit_output()
1216 sf->reg[idx].num_components = glsl_get_components(var->type); in etna_compile_shader()
1231 sf->reg[idx].num_components = glsl_get_components(var->type); in etna_compile_shader()
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c509 v->components += glsl_get_components(var->type); in gpir_compile_nir()

12