Home
last modified time | relevance | path

Searched refs:src_type (Results 1 - 25 of 220) sorted by relevance

123456789

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c214 struct lp_type src_type, in lp_build_concat()
221 assert(src_type.length * num_vectors <= ARRAY_SIZE(shuffles)); in lp_build_concat()
224 new_length = src_type.length; in lp_build_concat()
257 struct lp_type src_type, in lp_build_concat_n()
277 dst[i] = lp_build_concat(gallivm, &src[i * size], src_type, size); in lp_build_concat_n()
408 struct lp_type src_type, in lp_build_unpack2()
418 assert(!src_type.floating); in lp_build_unpack2()
420 assert(dst_type.width == src_type.width * 2); in lp_build_unpack2()
421 assert(dst_type.length * 2 == src_type.length); in lp_build_unpack2()
423 if(dst_type.sign && src_type in lp_build_unpack2()
212 lp_build_concat(struct gallivm_state *gallivm, LLVMValueRef src[], struct lp_type src_type, unsigned num_vectors) lp_build_concat() argument
256 lp_build_concat_n(struct gallivm_state *gallivm, struct lp_type src_type, LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) lp_build_concat_n() argument
407 lp_build_unpack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst_lo, LLVMValueRef *dst_hi) lp_build_unpack2() argument
460 lp_build_unpack2_native(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst_lo, LLVMValueRef *dst_hi) lp_build_unpack2_native() argument
515 lp_build_unpack(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst, unsigned num_dsts) lp_build_unpack() argument
570 lp_build_pack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) lp_build_pack2() argument
726 lp_build_pack2_native(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) lp_build_pack2_native() argument
778 lp_build_packs2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) lp_build_packs2() argument
823 lp_build_pack(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, boolean clamped, const LLVMValueRef *src, unsigned num_srcs) lp_build_pack() argument
883 lp_build_resize(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) lp_build_resize() argument
[all...]
H A Dlp_bld_conv.c43 * src_type.width * src_type.length == dst_type.width * dst_type.length
47 * src_type.length * num_srcs == dst_type.length * num_dsts
103 LLVMTypeRef src_type = LLVMTypeOf(src); in lp_build_half_to_float() local
104 unsigned src_length = LLVMGetTypeKind(src_type) == LLVMVectorTypeKind ? in lp_build_half_to_float()
105 LLVMGetVectorSize(src_type) : 1; in lp_build_half_to_float()
265 struct lp_type src_type, in lp_build_clamped_float_to_unsigned_norm()
270 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, src_type); in lp_build_clamped_float_to_unsigned_norm()
274 assert(src_type.floating); in lp_build_clamped_float_to_unsigned_norm()
275 assert(dst_width <= src_type in lp_build_clamped_float_to_unsigned_norm()
264 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, struct lp_type src_type, unsigned dst_width, LLVMValueRef src) lp_build_clamped_float_to_unsigned_norm() argument
469 lp_build_conv_auto(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type* dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst) lp_build_conv_auto() argument
561 lp_build_conv(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) lp_build_conv() argument
1070 lp_build_conv_mask(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) lp_build_conv_mask() argument
[all...]
H A Dlp_bld_format_aos_array.c63 struct lp_type src_type; in lp_build_fetch_rgba_aos_array() local
67 lp_type_from_format_desc(&src_type, format_desc); in lp_build_fetch_rgba_aos_array()
69 assert(src_type.length <= dst_type.length); in lp_build_fetch_rgba_aos_array()
71 src_vec_type = lp_build_vec_type(gallivm, src_type); in lp_build_fetch_rgba_aos_array()
85 LLVMSetAlignment(res, src_type.width / 8); in lp_build_fetch_rgba_aos_array()
88 if (src_type.floating && src_type.width == 64) { in lp_build_fetch_rgba_aos_array()
89 src_type.width = 32; in lp_build_fetch_rgba_aos_array()
90 src_vec_type = lp_build_vec_type(gallivm, src_type); in lp_build_fetch_rgba_aos_array()
96 if (src_type in lp_build_fetch_rgba_aos_array()
[all...]
H A Dlp_bld_format_srgb.c96 struct lp_type src_type, in lp_build_srgb_to_linear()
100 struct lp_type f32_type = lp_type_float_vec(32, src_type.length * 32); in lp_build_srgb_to_linear()
109 assert(src_type.width == 32); in lp_build_srgb_to_linear()
162 struct lp_type src_type, in lp_build_linear_to_srgb()
170 lp_build_context_init(&f32_bld, gallivm, src_type); in lp_build_linear_to_srgb()
188 struct lp_type int_type = lp_int_type(src_type); in lp_build_linear_to_srgb()
193 exponent = lp_build_const_vec(gallivm, src_type, exp_f); in lp_build_linear_to_srgb()
194 coeff = lp_build_const_vec(gallivm, src_type, in lp_build_linear_to_srgb()
207 lp_build_vec_type(gallivm, src_type), ""); in lp_build_linear_to_srgb()
228 coeff = lp_build_const_vec(gallivm, src_type, in lp_build_linear_to_srgb()
95 lp_build_srgb_to_linear(struct gallivm_state *gallivm, struct lp_type src_type, unsigned chan_bits, LLVMValueRef src) lp_build_srgb_to_linear() argument
161 lp_build_linear_to_srgb(struct gallivm_state *gallivm, struct lp_type src_type, unsigned chan_bits, LLVMValueRef src) lp_build_linear_to_srgb() argument
327 lp_build_float_to_srgb_packed(struct gallivm_state *gallivm, const struct util_format_description *dst_fmt, struct lp_type src_type, LLVMValueRef *src) lp_build_float_to_srgb_packed() argument
[all...]
H A Dlp_bld_pack.h69 struct lp_type src_type,
78 struct lp_type src_type,
86 struct lp_type src_type,
100 struct lp_type src_type,
105 struct lp_type src_type,
114 struct lp_type src_type,
122 struct lp_type src_type,
130 struct lp_type src_type,
138 struct lp_type src_type,
146 struct lp_type src_type,
[all...]
H A Dlp_bld_gather.c91 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); in lp_build_gather_elem() local
99 ptr = LLVMBuildBitCast(gallivm->builder, ptr, LLVMPointerType(src_type, 0), ""); in lp_build_gather_elem()
100 res = LLVMBuildLoad2(gallivm->builder, src_type, ptr, ""); in lp_build_gather_elem()
167 LLVMTypeRef src_type, in lp_build_gather_elem_vec()
179 ptr = LLVMBuildBitCast(gallivm->builder, ptr, LLVMPointerType(src_type, 0), ""); in lp_build_gather_elem_vec()
180 res = LLVMBuildLoad2(gallivm->builder, src_type, ptr, ""); in lp_build_gather_elem_vec()
286 LLVMTypeRef src_type, src_vec_type; in lp_build_gather_avx2() local
292 src_type = src_width == 64 ? LLVMDoubleTypeInContext(gallivm->context) : in lp_build_gather_avx2()
295 src_type = LLVMIntTypeInContext(gallivm->context, src_width); in lp_build_gather_avx2()
297 src_vec_type = LLVMVectorType(src_type, lengt in lp_build_gather_avx2()
164 lp_build_gather_elem_vec(struct gallivm_state *gallivm, unsigned length, unsigned src_width, LLVMTypeRef src_type, struct lp_type dst_type, boolean aligned, LLVMValueRef base_ptr, LLVMValueRef offsets, unsigned i, boolean vector_justify) lp_build_gather_elem_vec() argument
421 LLVMTypeRef src_type; lp_build_gather() local
[all...]
H A Dlp_bld_intr.c321 struct lp_type src_type, in lp_build_intrinsic_binary_anylength()
327 struct lp_type intrin_type = src_type; in lp_build_intrinsic_binary_anylength()
331 unsigned intrin_length = intr_size / src_type.width; in lp_build_intrinsic_binary_anylength()
335 if (intrin_length > src_type.length) { in lp_build_intrinsic_binary_anylength()
339 for (i = 0; i < src_type.length; i++) { in lp_build_intrinsic_binary_anylength()
345 if (src_type.length == 1) { in lp_build_intrinsic_binary_anylength()
356 if (src_type.length > 1) { in lp_build_intrinsic_binary_anylength()
357 constvec = LLVMConstVector(elems, src_type.length); in lp_build_intrinsic_binary_anylength()
364 else if (intrin_length < src_type.length) { in lp_build_intrinsic_binary_anylength()
365 unsigned num_vec = src_type in lp_build_intrinsic_binary_anylength()
319 lp_build_intrinsic_binary_anylength(struct gallivm_state *gallivm, const char *name, struct lp_type src_type, unsigned intr_size, LLVMValueRef a, LLVMValueRef b) lp_build_intrinsic_binary_anylength() argument
[all...]
H A Dlp_bld_conv.h55 struct lp_type src_type,
68 struct lp_type src_type,
76 struct lp_type src_type,
85 struct lp_type src_type,
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c55 "src_type\t" in write_tsv_header()
64 struct lp_type src_type, in write_tsv_row()
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length)); in write_tsv_row()
73 dump_type(fp, src_type); in write_tsv_row()
85 struct lp_type src_type, in dump_conv_types()
88 fprintf(fp, "src_type="); in dump_conv_types()
89 dump_type(fp, src_type); in dump_conv_types()
101 struct lp_type src_type, unsigned num_srcs, in add_conv_test()
116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0); in add_conv_test()
135 lp_build_conv(gallivm, src_type, dst_typ in add_conv_test()
63 write_tsv_row(FILE *fp, struct lp_type src_type, struct lp_type dst_type, double cycles, boolean success) write_tsv_row() argument
84 dump_conv_types(FILE *fp, struct lp_type src_type, struct lp_type dst_type) dump_conv_types() argument
100 add_conv_test(struct gallivm_state *gallivm, struct lp_type src_type, unsigned num_srcs, struct lp_type dst_type, unsigned num_dsts) add_conv_test() argument
153 test_one(unsigned verbose, FILE *fp, struct lp_type src_type, struct lp_type dst_type) test_one() argument
405 const struct lp_type *src_type; test_all() local
433 const struct lp_type *src_type; test_some() local
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_cf.c29 is_safe_conv(struct ir3_instruction *instr, type_t src_type, opc_t *src_opc) in is_safe_conv() argument
37 if (type_size(instr->cat1.src_type) == type_size(instr->cat1.dst_type) || in is_safe_conv()
38 full_type(instr->cat1.src_type) != full_type(instr->cat1.dst_type)) in is_safe_conv()
45 type_size(instr->cat1.src_type) == 16) in is_safe_conv()
65 if (src_type == instr->cat1.src_type) in is_safe_conv()
71 if (type_float(src_type) != type_float(instr->cat1.src_type)) in is_safe_conv()
77 if (type_size(instr->cat1.dst_type) < type_size(instr->cat1.src_type)) in is_safe_conv()
87 all_uses_safe_conv(struct ir3_instruction *conv_src, type_t src_type) in all_uses_safe_conv() argument
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_conversion_builder.h110 nir_alu_type src_type, in nir_round_int_to_float()
115 src_type = nir_alu_type_get_base_type(src_type); in nir_round_int_to_float()
134 if (src_type == nir_type_int) { in nir_round_int_to_float()
230 nir_alu_type src_type, in nir_get_clamp_limits()
235 nir_alu_type src_base_type = nir_alu_type_get_base_type(src_type); in nir_get_clamp_limits()
237 unsigned src_bit_size = nir_alu_type_get_type_size(src_type); in nir_get_clamp_limits()
343 * src/src_type: The variables used for comparison
349 nir_ssa_def *src, nir_alu_type src_type, in nir_clamp_to_type_range()
352 assert(nir_alu_type_get_type_size(src_type) in nir_clamp_to_type_range()
109 nir_round_int_to_float(nir_builder *b, nir_ssa_def *src, nir_alu_type src_type, unsigned dest_bit_size, nir_rounding_mode round) nir_round_int_to_float() argument
229 nir_get_clamp_limits(nir_builder *b, nir_alu_type src_type, nir_alu_type dest_type, nir_ssa_def **low, nir_ssa_def **high) nir_get_clamp_limits() argument
347 nir_clamp_to_type_range(nir_builder *b, nir_ssa_def *val, nir_alu_type val_type, nir_ssa_def *src, nir_alu_type src_type, nir_alu_type dest_type) nir_clamp_to_type_range() argument
395 nir_simplify_conversion_rounding(nir_alu_type src_type, nir_alu_type dest_type, nir_rounding_mode rounding) nir_simplify_conversion_rounding() argument
435 nir_convert_with_rounding(nir_builder *b, nir_ssa_def *src, nir_alu_type src_type, nir_alu_type dest_type, nir_rounding_mode round, bool clamp) nir_convert_with_rounding() argument
[all...]
H A Dnir_builtin_builder.c342 if (tex->src[i].src_type == nir_tex_src_texture_deref || in nir_get_texture_size()
343 tex->src[i].src_type == nir_tex_src_sampler_deref || in nir_get_texture_size()
344 tex->src[i].src_type == nir_tex_src_texture_offset || in nir_get_texture_size()
345 tex->src[i].src_type == nir_tex_src_sampler_offset || in nir_get_texture_size()
346 tex->src[i].src_type == nir_tex_src_texture_handle || in nir_get_texture_size()
347 tex->src[i].src_type == nir_tex_src_sampler_handle) in nir_get_texture_size()
363 if (tex->src[i].src_type == nir_tex_src_texture_deref || in nir_get_texture_size()
364 tex->src[i].src_type == nir_tex_src_sampler_deref || in nir_get_texture_size()
365 tex->src[i].src_type == nir_tex_src_texture_offset || in nir_get_texture_size()
366 tex->src[i].src_type in nir_get_texture_size()
[all...]
H A Dnir_lower_mediump.c430 /* Create a mapping from src_type to src[i]. */ in nir_legalize_16bit_sampler_srcs()
432 map[tex->src[i].src_type] = i; in nir_legalize_16bit_sampler_srcs()
436 nir_tex_src_type_constraint c = constraints[tex->src[i].src_type]; in nir_legalize_16bit_sampler_srcs()
517 can_fold_16bit_src(nir_ssa_def *ssa, nir_alu_type src_type, bool sext_matters) in can_fold_16bit_src() argument
519 bool fold_f16 = src_type == nir_type_float32; in can_fold_16bit_src()
520 bool fold_u16 = src_type == nir_type_uint32 && sext_matters; in can_fold_16bit_src()
521 bool fold_i16 = src_type == nir_type_int32 && sext_matters; in can_fold_16bit_src()
522 bool fold_i16_u16 = (src_type == nir_type_uint32 || src_type == nir_type_int32) && !sext_matters; in can_fold_16bit_src()
555 fold_16bit_src(nir_builder *b, nir_instr *instr, nir_src *src, nir_alu_type src_type) in fold_16bit_src() argument
586 nir_alu_type src_type = nir_intrinsic_src_type(instr); fold_16bit_store_data() local
703 nir_alu_type src_type = nir_tex_instr_src_type(tex, i) | src->ssa->bit_size; fold_16bit_tex_srcs() local
718 nir_alu_type src_type = nir_tex_instr_src_type(tex, i) | src->ssa->bit_size; fold_16bit_tex_srcs() local
[all...]
H A Dnir_lower_convert_alu_types.c33 nir_alu_type src_type = nir_intrinsic_src_type(conv); in try_simplify_convert_intrin() local
38 nir_simplify_conversion_rounding(src_type, dest_type, rounding); in try_simplify_convert_intrin()
45 nir_alu_type_range_contains_type_range(dest_type, src_type)) { in try_simplify_convert_intrin()
196 nir_alu_type src_type = nir_op_infos[alu->op].input_types[0] | src->bit_size; in lower_alu_conversion() local
199 .src_type = src_type, .dest_type = dst_type, in lower_alu_conversion()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_blit2d.c39 enum blit2d_src_type src_type, VkFormat format,
43 enum blit2d_src_type src_type,
47 enum blit2d_src_type src_type,
107 enum blit2d_src_type src_type, VkFormat depth_format, VkImageAspectFlagBits aspects, in blit2d_bind_src()
112 if (src_type == BLIT2D_SRC_TYPE_BUFFER) { in blit2d_bind_src()
117 device->meta_state.blit2d[log2_samples].p_layouts[src_type], 0, /* set */ in blit2d_bind_src()
128 device->meta_state.blit2d[log2_samples].p_layouts[src_type], in blit2d_bind_src()
133 if (src_type == BLIT2D_SRC_TYPE_IMAGE_3D) in blit2d_bind_src()
135 device->meta_state.blit2d[log2_samples].p_layouts[src_type], in blit2d_bind_src()
140 device->meta_state.blit2d[log2_samples].p_layouts[src_type], in blit2d_bind_src()
105 blit2d_bind_src(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_blit2d_surf *src_img, struct radv_meta_blit2d_buffer *src_buf, struct blit2d_src_temps *tmp, enum blit2d_src_type src_type, VkFormat depth_format, VkImageAspectFlagBits aspects, uint32_t log2_samples) blit2d_bind_src() argument
164 bind_pipeline(struct radv_cmd_buffer *cmd_buffer, enum blit2d_src_type src_type, unsigned fs_key, uint32_t log2_samples) bind_pipeline() argument
175 bind_depth_pipeline(struct radv_cmd_buffer *cmd_buffer, enum blit2d_src_type src_type, uint32_t log2_samples) bind_depth_pipeline() argument
186 bind_stencil_pipeline(struct radv_cmd_buffer *cmd_buffer, enum blit2d_src_type src_type, uint32_t log2_samples) bind_stencil_pipeline() argument
197 radv_meta_blit2d_normal_dst(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_blit2d_surf *src_img, struct radv_meta_blit2d_buffer *src_buf, struct radv_meta_blit2d_surf *dst, unsigned num_rects, struct radv_meta_blit2d_rect *rects, enum blit2d_src_type src_type, uint32_t log2_samples) radv_meta_blit2d_normal_dst() argument
381 enum blit2d_src_type src_type = src_buf ? BLIT2D_SRC_TYPE_BUFFER radv_meta_blit2d() local
627 blit2d_init_color_pipeline(struct radv_device *device, enum blit2d_src_type src_type, VkFormat format, uint32_t log2_samples) blit2d_init_color_pipeline() argument
763 blit2d_init_depth_only_pipeline(struct radv_device *device, enum blit2d_src_type src_type, uint32_t log2_samples) blit2d_init_depth_only_pipeline() argument
920 blit2d_init_stencil_only_pipeline(struct radv_device *device, enum blit2d_src_type src_type, uint32_t log2_samples) blit2d_init_stencil_only_pipeline() argument
[all...]
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir_lower_int_samplers.c52 if (tex->src[i].src_type == nir_tex_src_coord || in dx_get_texture_lod()
53 tex->src[i].src_type == nir_tex_src_texture_deref || in dx_get_texture_lod()
54 tex->src[i].src_type == nir_tex_src_sampler_deref || in dx_get_texture_lod()
55 tex->src[i].src_type == nir_tex_src_texture_offset || in dx_get_texture_lod()
56 tex->src[i].src_type == nir_tex_src_sampler_offset || in dx_get_texture_lod()
57 tex->src[i].src_type == nir_tex_src_texture_handle || in dx_get_texture_lod()
58 tex->src[i].src_type == nir_tex_src_sampler_handle) in dx_get_texture_lod()
85 tql->src[0].src_type = nir_tex_src_coord; in dx_get_texture_lod()
89 if (tex->src[i].src_type == nir_tex_src_texture_deref || in dx_get_texture_lod()
90 tex->src[i].src_type in dx_get_texture_lod()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/
H A Dkvm_page_table_test.c57 enum vm_mem_backing_src_type src_type; member
134 if (p->src_type == VM_MEM_SRC_ANONYMOUS) { in guest_code()
234 enum vm_mem_backing_src_type src_type; member
241 enum vm_mem_backing_src_type src_type = p->src_type; in pre_init_before_test() local
242 uint64_t large_page_size = get_backing_src_pagesz(src_type); in pre_init_before_test()
279 test_args.src_type = src_type; in pre_init_before_test()
282 vm_userspace_mem_region_add(vm, src_type, guest_test_phys_mem, in pre_init_before_test()
305 vm_mem_backing_src_alias(src_type) in pre_init_before_test()
[all...]
H A Ddemand_paging_test.c114 enum vm_mem_backing_src_type src_type; member
140 p->src_type, p->partition_vcpu_memory_access); in run_test()
142 demand_paging_size = get_backing_src_pagesz(p->src_type); in run_test()
235 .src_type = DEFAULT_VM_MEM_SRC, in main()
262 p.src_type = parse_backing_src_type(optarg); in main()
283 !backing_src_is_shared(p.src_type)) { in main()
/third_party/mesa3d/src/mesa/main/
H A Dformat_utils.c288 enum mesa_array_format_datatype src_type = 0, dst_type = 0, common_type; in _mesa_format_convert() local
419 src_type = _mesa_array_format_get_datatype(src_array_format); in _mesa_format_convert()
448 src, src_type, src_num_channels, in _mesa_format_convert()
537 src, src_type, src_num_channels, in _mesa_format_convert()
582 src, src_type, src_num_channels, in _mesa_format_convert()
626 src, src_type, src_num_channels, in _mesa_format_convert()
802 enum mesa_array_format_datatype src_type, in swizzle_convert_try_memcpy()
808 if (src_type != dst_type) in swizzle_convert_try_memcpy()
818 _mesa_array_format_datatype_get_size(src_type)); in swizzle_convert_try_memcpy()
968 const void *void_src, GLenum src_type, in in convert_float()
798 swizzle_convert_try_memcpy(void *dst, enum mesa_array_format_datatype dst_type, int num_dst_channels, const void *src, enum mesa_array_format_datatype src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) swizzle_convert_try_memcpy() argument
967 convert_float(void *void_dst, int num_dst_channels, const void *void_src, GLenum src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) convert_float() argument
1029 convert_half_float(void *void_dst, int num_dst_channels, const void *void_src, GLenum src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) convert_half_float() argument
1090 convert_ubyte(void *void_dst, int num_dst_channels, const void *void_src, GLenum src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) convert_ubyte() argument
1156 convert_byte(void *void_dst, int num_dst_channels, const void *void_src, GLenum src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) convert_byte() argument
1222 convert_ushort(void *void_dst, int num_dst_channels, const void *void_src, GLenum src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) convert_ushort() argument
1288 convert_short(void *void_dst, int num_dst_channels, const void *void_src, GLenum src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) convert_short() argument
1353 convert_uint(void *void_dst, int num_dst_channels, const void *void_src, GLenum src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) convert_uint() argument
1419 convert_int(void *void_dst, int num_dst_channels, const void *void_src, GLenum src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) convert_int() argument
1533 _mesa_swizzle_and_convert(void *void_dst, enum mesa_array_format_datatype dst_type, int num_dst_channels, const void *void_src, enum mesa_array_format_datatype src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) _mesa_swizzle_and_convert() argument
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir_lower_conversions.c28 get_conversion_op(nir_alu_type src_type, in get_conversion_op() argument
34 nir_alu_type src_full_type = (nir_alu_type) (src_type | src_bit_size); in get_conversion_op()
69 nir_alu_type src_type = nir_op_infos[alu->op].input_types[0]; in lower_alu_instr() local
70 nir_alu_type src_full_type = (nir_alu_type) (src_type | src_bit_size); in lower_alu_instr()
91 nir_op op1 = get_conversion_op(src_type, src_bit_size, in lower_alu_instr()
117 nir_op op1 = get_conversion_op(src_type, src_bit_size, dst_type, 32, in lower_alu_instr()
H A Dtest_eu_validate.cpp1163 enum brw_reg_type src_type; in TEST_P() member
1194 brw_MOV(p, retype(g0, move[i].dst_type), retype(g0, move[i].src_type)); in TEST_P()
1251 enum brw_reg_type src_type; in TEST_P() member
1255 #define INST(dst_type, src_type, dst_stride, expected_result) \ in TEST_P()
1258 BRW_REGISTER_TYPE_##src_type, \ in TEST_P()
1292 inst[i].src_type == BRW_REGISTER_TYPE_DF) in TEST_P()
1296 (inst[i].src_type == BRW_REGISTER_TYPE_Q || in TEST_P()
1297 inst[i].src_type == BRW_REGISTER_TYPE_UQ)) in TEST_P()
1300 brw_MOV(p, retype(g0, inst[i].dst_type), retype(g0, inst[i].src_type)); in TEST_P()
1312 enum brw_reg_type src_type; in TEST_P() member
2065 enum brw_reg_type src_type; TEST_P() member
2103 enum brw_reg_type src_type; TEST_P() member
2150 enum brw_reg_type src_type; TEST_P() member
2339 enum brw_reg_type src_type; TEST_P() member
2473 enum brw_reg_type src_type; TEST_P() member
2631 enum brw_reg_type src_type; TEST_P() member
2707 enum brw_reg_type src_type; TEST_P() member
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_variable.c85 unsigned int src_type = rc_source_type_swz( in rc_variable_change_dst() local
93 rc_pair_remove_src(reader->Inst, src_type, in rc_variable_change_dst()
100 if (src_type & RC_SOURCE_RGB) { in rc_variable_change_dst()
108 if (src_type & RC_SOURCE_ALPHA) { in rc_variable_change_dst()
507 unsigned int src_type, in reader_equals_src()
510 if (reader.Inst->Type != src_type) { in reader_equals_src()
513 if (src_type == RC_INSTRUCTION_NORMAL) { in reader_equals_src()
522 unsigned int src_type, in variable_writes_src()
527 if (reader_equals_src(var->Readers[i], src_type, src)) { in variable_writes_src()
537 unsigned int src_type, in rc_variable_list_get_writers()
505 reader_equals_src( struct rc_reader reader, unsigned int src_type, void * src) reader_equals_src() argument
520 variable_writes_src( struct rc_variable * var, unsigned int src_type, void * src) variable_writes_src() argument
535 rc_variable_list_get_writers( struct rc_list * var_list, unsigned int src_type, void * src) rc_variable_list_get_writers() argument
566 rc_variable_list_get_writers_one_reader( struct rc_list * var_list, unsigned int src_type, void * src) rc_variable_list_get_writers_one_reader() argument
[all...]
/third_party/mesa3d/src/vulkan/util/
H A Dvk_cmd_queue_gen.py441 def get_pnext_member_copy(struct, src_type, member, types, level):
442 if not types[src_type].extended_by:
447 for type in types[src_type].extended_by:
462 def get_struct_copy(dst, src_name, src_type, size, types, level=0):
470 tmp_dst = "%s *tmp_dst%d = (void *) %s; (void) tmp_dst%d;" % (src_type, level, dst, level)
471 tmp_src = "%s *tmp_src%d = (void *) %s; (void) tmp_src%d;" % (src_type, level, src_name, level)
474 if src_type in types:
475 for member in types[src_type].members:
479 member_copies += get_pnext_member_copy("tmp_dst%d" % level, src_type, member, types, level)
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atifs_to_nir.c146 get_source(struct st_translate *t, GLenum src_type) in get_source() argument
148 if (src_type >= GL_REG_0_ATI && src_type <= GL_REG_5_ATI) { in get_source()
149 if (t->regs_written[t->current_pass][src_type - GL_REG_0_ATI]) { in get_source()
150 return get_temp(t, src_type - GL_REG_0_ATI); in get_source()
154 } else if (src_type >= GL_CON_0_ATI && src_type <= GL_CON_7_ATI) { in get_source()
155 int index = src_type - GL_CON_0_ATI; in get_source()
165 } else if (src_type == GL_ZERO) { in get_source()
167 } else if (src_type in get_source()
[all...]
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-sunxi-nmi.c102 unsigned int src_type; in sunxi_sc_nmi_set_type() local
109 src_type = SUNXI_SRC_TYPE_EDGE_FALLING; in sunxi_sc_nmi_set_type()
112 src_type = SUNXI_SRC_TYPE_EDGE_RISING; in sunxi_sc_nmi_set_type()
115 src_type = SUNXI_SRC_TYPE_LEVEL_HIGH; in sunxi_sc_nmi_set_type()
119 src_type = SUNXI_SRC_TYPE_LEVEL_LOW; in sunxi_sc_nmi_set_type()
137 src_type_reg |= src_type; in sunxi_sc_nmi_set_type()

Completed in 18 milliseconds

123456789