Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_copy_prop_vars.c195 BITFIELD_MASK(glsl_get_vector_elements(payload->type)); in gather_vars_written()
243 nir_intrinsic_write_mask(intrin) : (1 << glsl_get_vector_elements(dst->type)) - 1; in gather_vars_written()
497 assert(index < glsl_get_vector_elements(entry->dst.instr->type)); in load_element_from_ssa_entry_value()
557 unsigned num_components = glsl_get_vector_elements(type); in load_from_ssa_entry_value()
805 unsigned num_components = glsl_get_vector_elements(entry->dst.instr->type); in print_copy_entry()
937 unsigned vec_comps = glsl_get_vector_elements(vec_src.instr->type); in copy_prop_vars_block()
1028 unsigned vec_comps = glsl_get_vector_elements(vec_dst.instr->type); in copy_prop_vars_block()
1076 unsigned num_components = glsl_get_vector_elements(dst.instr->type); in copy_prop_vars_block()
1154 BITFIELD_MASK(glsl_get_vector_elements(payload.instr->type)); in copy_prop_vars_block()
1177 unsigned num_components = glsl_get_vector_elements(dst.instr->type); in copy_prop_vars_block()
[all …]
Dnir_opt_large_constants.c74 const unsigned num_components = glsl_get_vector_elements(deref->type); in build_constant_load()
111 const unsigned num_components = glsl_get_vector_elements(deref->type); in handle_constant_store()
Dnir_opt_combine_stores.c128 unsigned num_components = glsl_get_vector_elements(combo->dst->type); in combine_stores()
240 if (index >= glsl_get_vector_elements(vec_dst->type)) { in update_combined_store()
Dnir_opt_dead_write_vars.c234 nir_component_mask_t mask = (1 << glsl_get_vector_elements(dst->type)) - 1; in remove_dead_write_vars_local()
Dnir_opt_memcpy.c154 assert(data->num_components == glsl_get_vector_elements(dst->type)); in try_lower_memcpy()
Dnir_lower_variable_initializers.c33 glsl_get_vector_elements(deref->type), in build_constant_load()
Dnir_lower_vars_to_ssa.c632 glsl_get_vector_elements(node->type)); in rename_variables()
793 glsl_get_vector_elements(node->type), in nir_lower_vars_to_ssa_impl()
Dnir_lower_locals_to_regs.c121 reg->num_components = glsl_get_vector_elements(deref->type); in get_reg_for_deref()
Dnir_deref.c1202 unsigned parent_bytes = glsl_get_vector_elements(parent->type) * in is_vector_bitcast_deref()
1243 const unsigned new_num_comps = glsl_get_vector_elements(parent->type); in opt_load_vec_deref()
1285 const unsigned new_num_comps = glsl_get_vector_elements(parent->type); in opt_store_vec_deref()
Dnir_lower_system_values.c209 ASSERTED unsigned num_rows = glsl_get_vector_elements(var->type); in lower_system_value_instr()
Dnir_validate.c618 glsl_get_vector_elements(src->type)); in validate_intrinsic_instr()
631 glsl_get_vector_elements(dst->type)); in validate_intrinsic_instr()
1462 unsigned num_components = glsl_get_vector_elements(type); in validate_constant()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_alu.c72 unsigned src0_rows = glsl_get_vector_elements(src0->type); in matrix_multiply()
900 glsl_get_vector_elements(vtn_src[0]->type) != in vtn_handle_integer_dot()
901 glsl_get_vector_elements(vtn_src[1]->type), in vtn_handle_integer_dot()
926 if (glsl_get_vector_elements(vtn_src[0]->type) == 4 && in vtn_handle_integer_dot()
931 } else if (glsl_get_vector_elements(vtn_src[0]->type) == 2 && in vtn_handle_integer_dot()
1007 glsl_get_vector_elements(vtn_src[0]->type); in vtn_handle_integer_dot()
1170 glsl_get_vector_elements(type->type) * glsl_get_bit_size(type->type), in vtn_handle_bitcast()
Dvtn_amd.c214 intrin->num_components = glsl_get_vector_elements(deref->type); in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
216 glsl_get_vector_elements(deref->type), in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
Dvtn_glsl450.c97 unsigned size = glsl_get_vector_elements(src->type); in build_mat_det()
150 unsigned size = glsl_get_vector_elements(src->type); in matrix_inverse()
610 intrin->num_components = glsl_get_vector_elements(deref->type); in handle_glsl450_interpolation()
612 glsl_get_vector_elements(deref->type), in handle_glsl450_interpolation()
Dspirv_to_nir.c206 unsigned num_components = glsl_get_vector_elements(val->type); in vtn_undef_ssa_value()
241 unsigned num_components = glsl_get_vector_elements(val->type); in vtn_const_ssa_value()
338 vtn_fail_if(def->num_components != glsl_get_vector_elements(type->type) || in vtn_push_nir_ssa()
1467 glsl_get_vector_elements(base->type), in vtn_handle_type()
2021 unsigned len0 = glsl_get_vector_elements(v0->type->type); in vtn_handle_constant()
2022 unsigned len1 = glsl_get_vector_elements(v1->type->type); in vtn_handle_constant()
2137 unsigned num_components = glsl_get_vector_elements(val->type->type); in vtn_handle_constant()
3058 vtn_assert(glsl_get_vector_elements(ret_type->type) == in vtn_handle_texture()
3095 unsigned result_size = glsl_get_vector_elements(ret_type->type); in vtn_handle_texture()
3493 unsigned dest_components = glsl_get_vector_elements(type->type); in vtn_handle_image()
[all …]
Dvtn_opencl.c400 ret->length = glsl_get_vector_elements(type); in get_vtn_type_for_glsl_type()
426 glsl_get_vector_elements(t->type))); in get_signed_type()
631 unsigned components = glsl_get_vector_elements(type->type); in _handle_v_load_store()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_fs_out_to_vector.cpp342 unsigned num_comps = glsl_get_vector_elements(glsl_without_array(new_var->type)); in vec_instr_stack_pop()
343 unsigned old_num_comps = glsl_get_vector_elements(glsl_without_array(var->type)); in vec_instr_stack_pop()
376 assert(glsl_get_vector_elements(glsl_without_array(var2->type)) < 4); in vec_instr_stack_pop()
Dsfn_nir_vectorize_vs_inputs.c195 glsl_get_vector_elements(glsl_without_array(new_var->type)); in r600_vec_instr_stack_pop()
198 glsl_get_vector_elements(glsl_without_array(var->type)); in r600_vec_instr_stack_pop()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp229 comps = glsl_get_vector_elements(type); in st_nir_assign_uniform_locations()
343 unsigned length = glsl_get_vector_elements(type); in shared_type_info()
495 comps = glsl_get_vector_elements(type); in st_glsl_to_nir_post_opts()
/third_party/mesa3d/src/compiler/
Dnir_types.h86 unsigned glsl_get_vector_elements(const struct glsl_type *type);
Dnir_types.cpp132 glsl_get_vector_elements(const struct glsl_type *type) in glsl_get_vector_elements() function
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c198 …_type_is_64bit(var->type) || !glsl_type_is_vector(var->type) || glsl_get_vector_elements(var->type… in lower_64bit_vertex_attribs_instr()
207 unsigned total_num_components = glsl_get_vector_elements(var->type); in lower_64bit_vertex_attribs_instr()
209 …var2->type = glsl_vector_type(glsl_get_base_type(var->type), glsl_get_vector_elements(var->type) -… in lower_64bit_vertex_attribs_instr()
586 unsigned num_components = glsl_get_vector_elements(split[0]->type); in lower_attrib()
618 unsigned num_components = glsl_get_vector_elements(var->type); in decompose_attribs()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c40 unsigned length = glsl_get_vector_elements(type); in shared_var_info()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c120 const unsigned n_rows = glsl_get_vector_elements(type); in copy_constant_to_storage()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c398 glsl_get_vector_elements(outvar->type)), in panvk_lower_blend()

123