Home
last modified time | relevance | path

Searched defs:num_components (Results 1 – 25 of 160) sorted by relevance

1234567

/third_party/mesa3d/src/compiler/nir/
Dnir_search_helpers.h37 unsigned src, unsigned num_components, in is_pos_power_of_two()
69 unsigned src, unsigned num_components, in is_neg_power_of_two()
125 unsigned src, unsigned num_components, in is_zero_to_one()
156 unsigned src, unsigned num_components, in is_gt_0_and_lt_1()
181 unsigned src, unsigned num_components, in is_not_const_zero()
211 unsigned src, unsigned num_components, in is_ult_0xfffc07fc()
231 unsigned src, UNUSED unsigned num_components, in is_not_const()
239 UNUSED unsigned num_components, UNUSED const uint8_t *swizzle) in is_not_fmul()
255 UNUSED unsigned num_components, UNUSED const uint8_t *swizzle) in is_fmul()
271 UNUSED unsigned num_components, UNUSED const uint8_t *swizzle) in is_fsign()
[all …]
Dnir_lower_alu_to_scalar.c56 nir_alu_ssa_dest_init(nir_alu_instr *alu, unsigned num_components, in nir_alu_ssa_dest_init()
68 unsigned num_components = nir_op_infos[alu->op].input_sizes[0]; in lower_reduction() local
119 unsigned num_components = nir_op_infos[alu->op].input_sizes[0]; in lower_fdot() local
326 unsigned num_components = alu->dest.dest.ssa.num_components; in lower_alu_instr_scalar() local
Dnir_lower_array_deref_of_vec.c32 unsigned num_components = glsl_get_components(vec_deref->type); in build_write_masked_store() local
104 unsigned num_components = glsl_get_components(vec_deref->type); in nir_lower_array_deref_of_vec_impl() local
Dnir_lower_ubo_vec4.c77 unsigned bit_size, unsigned num_components) in create_load()
106 unsigned num_components = intr->num_components; in nir_lower_ubo_vec4_lower() local
Dnir_format_convert.h90 const unsigned *bits, unsigned num_components, in nir_format_unpack_int()
127 const unsigned *bits, unsigned num_components) in nir_format_unpack_uint()
134 const unsigned *bits, unsigned num_components) in nir_format_unpack_sint()
141 const unsigned *bits, unsigned num_components) in nir_format_pack_uint_unmasked()
171 const unsigned *bits, unsigned num_components) in nir_format_pack_uint()
233 unsigned num_components, in _nir_format_norm_factor()
Dnir_opt_copy_prop_vars.c76 unsigned num_components) in value_set_ssa_components()
557 unsigned num_components = glsl_get_vector_elements(type); in load_from_ssa_entry_value() local
770 print_value(struct value *value, unsigned num_components) in print_value()
805 unsigned num_components = glsl_get_vector_elements(entry->dst.instr->type); in print_copy_entry() local
1076 unsigned num_components = glsl_get_vector_elements(dst.instr->type); in copy_prop_vars_block() local
1177 unsigned num_components = glsl_get_vector_elements(dst.instr->type); in copy_prop_vars_block() local
1194 unsigned num_components = glsl_get_vector_elements(dst.instr->type); in copy_prop_vars_block() local
Dnir_validate.c142 validate_num_components(validate_state *state, unsigned num_components) in validate_num_components()
149 unsigned bit_sizes, unsigned num_components) in validate_reg_src()
192 unsigned bit_sizes, unsigned num_components) in validate_ssa_src()
221 unsigned bit_sizes, unsigned num_components) in validate_src()
242 unsigned num_components = nir_src_num_components(src->src); in validate_alu_src() local
255 unsigned bit_sizes, unsigned num_components) in validate_reg_dest()
323 unsigned bit_sizes, unsigned num_components) in validate_dest()
1462 unsigned num_components = glsl_get_vector_elements(type); in validate_constant() local
Dnir_phi_builder.c54 unsigned num_components; member
117 nir_phi_builder_add_value(struct nir_phi_builder *pb, unsigned num_components, in nir_phi_builder_add_value()
Dnir_builder.h246 nir_ssa_undef(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_ssa_undef()
261 nir_build_imm(nir_builder *build, unsigned num_components, in nir_build_imm()
277 nir_imm_zero(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_imm_zero()
451 unsigned num_components = op_info->output_size; in nir_builder_alu_instr_finish_and_insert() local
540 unsigned num_components, unsigned bit_size) in nir_load_system_value()
559 nir_vec(nir_builder *build, nir_ssa_def **comp, unsigned num_components) in nir_vec()
565 nir_mov_alu(nir_builder *build, nir_alu_src src, unsigned num_components) in nir_mov_alu()
594 unsigned num_components) in nir_swizzle()
1172 nir_pad_vector(nir_builder *b, nir_ssa_def *src, unsigned num_components) in nir_pad_vector()
1196 unsigned num_components) in nir_pad_vector_imm_int()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_extensions.cpp1553 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1583 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1635 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1705 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1738 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1777 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1842 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1927 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1955 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1994 const uint32_t num_components = _.GetDimension(p0_type); in ValidateExtInst() local
[all …]
Dvalidate_interfaces.cpp179 uint32_t num_components = 0; in NumConsumedComponents() local
347 uint32_t num_components = NumConsumedComponents(_, sub_type); in GetLocationsForVariable() local
412 uint32_t num_components = NumConsumedComponents(_, member); in GetLocationsForVariable() local
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_extensions.cpp1590 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1620 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1672 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1742 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1775 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1814 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1879 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1964 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1992 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2031 const uint32_t num_components = _.GetDimension(p0_type); in ValidateExtInst() local
[all …]
Dvalidate_interfaces.cpp183 uint32_t num_components = 0; in NumConsumedComponents() local
355 uint32_t num_components = NumConsumedComponents(_, sub_type); in GetLocationsForVariable() local
425 uint32_t num_components = NumConsumedComponents(_, member); in GetLocationsForVariable() local
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp1590 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1620 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1672 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1742 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1775 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1814 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1879 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1964 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1992 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2031 const uint32_t num_components = _.GetDimension(p0_type); in ValidateExtInst() local
[all …]
Dvalidate_interfaces.cpp183 uint32_t num_components = 0; in NumConsumedComponents() local
355 uint32_t num_components = NumConsumedComponents(_, sub_type); in GetLocationsForVariable() local
425 uint32_t num_components = NumConsumedComponents(_, member); in GetLocationsForVariable() local
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_mem_access_bit_sizes.c32 unsigned num_components, unsigned bit_size, in dup_mem_intrinsic()
90 const unsigned num_components = intrin->dest.ssa.num_components; in lower_mem_load_bit_size() local
167 const unsigned num_components = intrin->num_components; in lower_mem_store_bit_size() local
Dbrw_nir_rt.c29 unsigned num_components, unsigned bit_size) in resize_deref()
403 unsigned num_components, unsigned bit_size) in build_load_uniform()
410 #define load_trampoline_param(b, name, num_components, bit_size) \ argument
Dbrw_nir_tcs_workarounds.c76 load_output(nir_builder *b, int num_components, int offset, int component) in load_output()
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c151 pan_replicate(nir_builder *b, nir_ssa_def *v, unsigned num_components) in pan_replicate()
162 pan_unpack_pure_32(nir_builder *b, nir_ssa_def *pack, unsigned num_components) in pan_unpack_pure_32()
171 pan_pack_pure_16(nir_builder *b, nir_ssa_def *v, unsigned num_components) in pan_pack_pure_16()
182 pan_unpack_pure_16(nir_builder *b, nir_ssa_def *pack, unsigned num_components) in pan_unpack_pure_16()
236 pan_pack_pure_8(nir_builder *b, nir_ssa_def *v, unsigned num_components) in pan_pack_pure_8()
242 pan_unpack_pure_8(nir_builder *b, nir_ssa_def *pack, unsigned num_components) in pan_unpack_pure_8()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_image_load_store.c58 int num_components, bool mask) in pack_bits()
94 unsigned num_components = util_format_get_nr_components(format); in v3d_nir_lower_image_store() local
Dv3d33_vpm_setup.c34 v3d33_vir_vpm_read_setup(struct v3d_compile *c, int num_components) in v3d33_vir_vpm_read_setup()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderParse.c428 D3D10_SB_OPERAND_NUM_COMPONENTS num_components; in Shader_parse_opcode() local
454 D3D10_SB_OPERAND_NUM_COMPONENTS num_components; in Shader_parse_opcode() local
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c132 get_bvec_type(struct ntv_context *ctx, int num_components) in get_bvec_type()
258 get_fvec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_fvec_type()
272 get_ivec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_ivec_type()
286 get_uvec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_uvec_type()
1017 get_vec_from_bit_size(struct ntv_context *ctx, uint32_t bit_size, uint32_t num_components) in get_vec_from_bit_size()
1122 size_t num_components = 0; in get_alu_src_raw() local
1152 uvec_to_bvec(struct ntv_context *ctx, SpvId value, unsigned num_components) in uvec_to_bvec()
1167 unsigned num_components) in bitcast_to_uvec()
1175 unsigned num_components) in bitcast_to_ivec()
1183 unsigned num_components) in bitcast_to_fvec()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp565 unsigned num_components = nir_instr_as_load_const(instr)->def.num_components; in init_context() local
766 unsigned num_components = nir_instr_as_ssa_undef(instr)->def.num_components; in init_context() local
775 unsigned num_components = phi->dest.ssa.num_components; in init_context() local
/third_party/boost/boost/graph/
Dmake_connected.hpp38 v_size_t num_components = connected_components(g, component); in make_connected() local

1234567