Home
last modified time | relevance | path

Searched defs:num_components (Results 1 – 25 of 152) 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()
98 unsigned src, unsigned num_components, in is_bitcount2()
143 unsigned src, unsigned num_components, in is_zero_to_one()
175 unsigned src, unsigned num_components, in is_gt_0_and_lt_1()
201 unsigned src, unsigned num_components, in is_not_const_zero()
231 unsigned src, unsigned num_components, in is_ult_0xfffc07fc()
252 unsigned src, unsigned num_components, in is_first_5_bits_uge_2()
272 unsigned src, UNUSED unsigned num_components, in is_not_const()
280 UNUSED unsigned num_components, UNUSED const uint8_t *swizzle) in is_not_fmul()
[all …]
Dnir_lower_alu_width.c91 nir_alu_ssa_dest_init(nir_alu_instr *alu, unsigned num_components, in nir_alu_ssa_dest_init()
103 unsigned num_components = nir_op_infos[alu->op].input_sizes[0]; in lower_reduction() local
154 unsigned num_components = nir_op_infos[alu->op].input_sizes[0]; in lower_fdot() local
190 unsigned num_components = alu->dest.dest.ssa.num_components; in lower_alu_instr_width() local
Dnir_opt_shrink_vectors.c134 unsigned num_components = 0; in opt_shrink_vector() local
196 unsigned num_components = util_bitcount(mask); in opt_shrink_vectors_alu() local
295 unsigned num_components = 0; in opt_shrink_vectors_load_const() 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_builder.c75 unsigned num_components = op_info->output_size; in nir_builder_alu_instr_finish_and_insert() local
219 nir_vec_scalars(nir_builder *build, nir_ssa_scalar *comp, unsigned num_components) in nir_vec_scalars()
251 nir_ssa_for_src(nir_builder *build, nir_src src, int num_components) in nir_ssa_for_src()
277 unsigned num_components = nir_ssa_alu_instr_src_components(instr, srcn); in nir_ssa_for_alu_src() local
284 unsigned num_components, unsigned bit_size) in nir_load_system_value()
Dnir_opt_copy_prop_vars.c76 unsigned num_components) in value_set_ssa_components()
556 unsigned num_components = glsl_get_vector_elements(type); in load_from_ssa_entry_value() local
769 print_value(struct value *value, unsigned num_components) in print_value()
804 unsigned num_components = glsl_get_vector_elements(entry->dst.instr->type); in print_copy_entry() local
1075 unsigned num_components = glsl_get_vector_elements(dst.instr->type); in copy_prop_vars_block() local
1175 unsigned num_components = glsl_get_vector_elements(dst.instr->type); in copy_prop_vars_block() local
1192 unsigned num_components = glsl_get_vector_elements(dst.instr->type); in copy_prop_vars_block() local
Dnir_validate.c143 validate_num_components(validate_state *state, unsigned num_components) in validate_num_components()
150 unsigned bit_sizes, unsigned num_components) in validate_reg_src()
193 unsigned bit_sizes, unsigned num_components) in validate_ssa_src()
222 unsigned bit_sizes, unsigned num_components) in validate_src()
243 unsigned num_components = nir_src_num_components(src->src); in validate_alu_src() local
256 unsigned bit_sizes, unsigned num_components) in validate_reg_dest()
324 unsigned bit_sizes, unsigned num_components) in validate_dest()
1475 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.h158 nir_ssa_undef(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_ssa_undef()
173 nir_build_imm(nir_builder *build, unsigned num_components, in nir_build_imm()
189 nir_imm_zero(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_imm_zero()
369 nir_vec(nir_builder *build, nir_ssa_def **comp, unsigned num_components) in nir_vec()
378 nir_mov_alu(nir_builder *build, nir_alu_src src, unsigned num_components) in nir_mov_alu()
407 unsigned num_components) in nir_swizzle()
1032 nir_trim_vector(nir_builder *b, nir_ssa_def *src, unsigned num_components) in nir_trim_vector()
1046 nir_pad_vector(nir_builder *b, nir_ssa_def *src, unsigned num_components) in nir_pad_vector()
1070 unsigned num_components) in nir_pad_vector_imm_int()
1104 nir_resize_vector(nir_builder *b, nir_ssa_def *src, unsigned num_components) in nir_resize_vector()
[all …]
/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/spirv-tools/source/val/
Dvalidate_extensions.cpp1919 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
1949 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2001 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2071 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2104 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2143 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2208 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2293 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2321 const uint32_t num_components = _.GetDimension(result_type); in ValidateExtInst() local
2360 const uint32_t num_components = _.GetDimension(p0_type); in ValidateExtInst() local
[all …]
Dvalidate_interfaces.cpp197 uint32_t num_components = 0; in NumConsumedComponents() local
388 uint32_t num_components = NumConsumedComponents(_, sub_type); in GetLocationsForVariable() local
461 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()
409 unsigned num_components, unsigned bit_size) in build_load_uniform()
416 #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.c111 pan_replicate(nir_builder *b, nir_ssa_def *v, unsigned num_components) in pan_replicate()
122 pan_unpack_pure_32(nir_builder *b, nir_ssa_def *pack, unsigned num_components) in pan_unpack_pure_32()
131 pan_pack_pure_16(nir_builder *b, nir_ssa_def *v, unsigned num_components) in pan_pack_pure_16()
142 pan_unpack_pure_16(nir_builder *b, nir_ssa_def *pack, unsigned num_components) in pan_unpack_pure_16()
196 pan_pack_pure_8(nir_builder *b, nir_ssa_def *v, unsigned num_components) in pan_pack_pure_8()
202 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()
95 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.c134 get_bvec_type(struct ntv_context *ctx, int num_components) in get_bvec_type()
273 get_fvec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_fvec_type()
287 get_ivec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_ivec_type()
301 get_uvec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_uvec_type()
1094 get_vec_from_bit_size(struct ntv_context *ctx, uint32_t bit_size, uint32_t num_components) in get_vec_from_bit_size()
1194 size_t num_components = 0; in get_alu_src_raw() local
1231 unsigned num_components) in bitcast_to_uvec()
1239 unsigned num_components) in bitcast_to_ivec()
1247 unsigned num_components) in bitcast_to_fvec()
1273 unsigned num_components = nir_dest_num_components(*dest); in store_dest() local
[all …]

1234567