Home
last modified time | relevance | path

Searched refs:lp_type (Results 1 – 25 of 60) sorted by relevance

123

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_type.h83 struct lp_type { struct
148 struct lp_type type; argument
181 lp_type_from_format_desc(struct lp_type* type, const struct util_format_description *format_desc) in lp_type_from_format_desc()
186 memset(type, 0, sizeof(struct lp_type)); in lp_type_from_format_desc()
197 lp_type_from_format(struct lp_type* type, enum pipe_format format) in lp_type_from_format()
204 lp_type_width(struct lp_type type) in lp_type_width()
211 static inline struct lp_type
214 struct lp_type res_type; in lp_type_float()
227 static inline struct lp_type
230 struct lp_type res_type; in lp_type_float_vec()
[all …]
Dlp_bld_pack.h45 struct lp_type;
49 struct lp_type type,
56 struct lp_type type,
69 struct lp_type src_type,
70 struct lp_type dst_type,
78 struct lp_type src_type,
79 struct lp_type dst_type,
86 struct lp_type src_type,
87 struct lp_type dst_type,
100 struct lp_type src_type,
[all …]
Dlp_bld_const.h46 struct lp_type;
50 lp_mantissa(struct lp_type type);
54 lp_const_shift(struct lp_type type);
58 lp_const_offset(struct lp_type type);
62 lp_const_scale(struct lp_type type);
65 lp_const_min(struct lp_type type);
69 lp_const_max(struct lp_type type);
73 lp_const_eps(struct lp_type type);
77 lp_build_undef(struct gallivm_state *gallivm, struct lp_type type);
81 lp_build_zero(struct gallivm_state *gallivm, struct lp_type type);
[all …]
Dlp_bld_type.c37 lp_build_elem_type(struct gallivm_state *gallivm, struct lp_type type) in lp_build_elem_type()
62 lp_build_vec_type(struct gallivm_state *gallivm,struct lp_type type) in lp_build_vec_type()
79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type()
121 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type) in lp_check_vec_type()
145 lp_check_value(struct lp_type type, LLVMValueRef val) in lp_check_value()
160 lp_build_int_elem_type(struct gallivm_state *gallivm, struct lp_type type) in lp_build_int_elem_type()
167 lp_build_int_vec_type(struct gallivm_state *gallivm, struct lp_type type) in lp_build_int_vec_type()
180 struct lp_type
181 lp_elem_type(struct lp_type type) in lp_elem_type()
183 struct lp_type res_type; in lp_elem_type()
[all …]
Dlp_bld_conv.h43 struct lp_type;
55 struct lp_type src_type,
62 struct lp_type dst_type,
68 struct lp_type src_type,
69 struct lp_type dst_type,
76 struct lp_type src_type,
77 struct lp_type* dst_type,
85 struct lp_type src_type,
86 struct lp_type dst_type,
Dlp_bld_swizzle.h43 struct lp_type;
63 struct lp_type src_type,
64 struct lp_type dst_type,
120 struct lp_type type,
127 struct lp_type type,
135 struct lp_type src_type,
136 struct lp_type dst_type,
143 struct lp_type src_type,
144 struct lp_type dst_type,
Dlp_bld_sample.h53 struct lp_type;
100 struct lp_type type;
115 struct lp_type int_type;
325 struct lp_type float_type;
332 struct lp_type int_type;
336 struct lp_type coord_type;
340 struct lp_type int_coord_type;
344 struct lp_type int_size_in_type;
348 struct lp_type float_size_in_type;
352 struct lp_type int_size_type;
[all …]
Dlp_bld_format.h43 struct lp_type;
103 struct lp_type type,
114 struct lp_type type,
132 struct lp_type type,
138 struct lp_type dst_type,
145 struct lp_type type,
185 struct lp_type i32_type,
194 struct lp_type f32_type,
218 struct lp_type src_type,
223 struct lp_type src_type,
Dlp_bld_const.c48 lp_mantissa(struct lp_type type) in lp_mantissa()
80 lp_const_shift(struct lp_type type) in lp_const_shift()
94 lp_const_offset(struct lp_type type) in lp_const_offset()
112 lp_const_scale(struct lp_type type) in lp_const_scale()
130 lp_const_min(struct lp_type type) in lp_const_min()
168 lp_const_max(struct lp_type type) in lp_const_max()
202 lp_const_eps(struct lp_type type) in lp_const_eps()
225 lp_build_undef(struct gallivm_state *gallivm, struct lp_type type) in lp_build_undef()
233 lp_build_zero(struct gallivm_state *gallivm, struct lp_type type) in lp_build_zero()
249 lp_build_one(struct gallivm_state *gallivm, struct lp_type type) in lp_build_one()
[all …]
Dlp_bld_pack.c189 struct lp_type src_type, in lp_build_concat()
232 struct lp_type src_type, in lp_build_concat_n()
293 struct lp_type type, in lp_build_interleave2()
309 struct lp_type tmp_type = type; in lp_build_interleave2()
349 struct lp_type type, in lp_build_interleave2_half()
372 struct lp_type src_type, in lp_build_unpack2()
373 struct lp_type dst_type, in lp_build_unpack2()
425 struct lp_type src_type, in lp_build_unpack2_native()
426 struct lp_type dst_type, in lp_build_unpack2_native()
480 struct lp_type src_type, in lp_build_unpack()
[all …]
Dlp_bld_format_float.c73 struct lp_type i32_type, in lp_build_float_to_smallfloat()
85 struct lp_type f32_type = lp_type_float_vec(32, 32 * i32_type.length); in lp_build_float_to_smallfloat()
207 struct lp_type u32_type = lp_type_uint_vec(32, 32 * i32_type.length); in lp_build_float_to_smallfloat()
245 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_length); in lp_build_float_to_r11g11b10()
282 struct lp_type f32_type, in lp_build_smallfloat_to_float()
293 struct lp_type i32_type = lp_type_int_vec(32, 32 * f32_type.length); in lp_build_smallfloat_to_float()
411 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_length); in lp_build_r11g11b10_to_float()
424 struct lp_type f32_type, in lp_build_rgb9_to_float_helper()
431 struct lp_type i32_type = lp_type_int_vec(32, 32 * f32_type.length); in lp_build_rgb9_to_float_helper()
469 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_length); in lp_build_rgb9e5_to_float()
[all …]
Dlp_bld_bitarit.c44 const struct lp_type type = bld->type; in lp_build_or()
70 const struct lp_type type = bld->type; in lp_build_xor()
98 const struct lp_type type = bld->type; in lp_build_and()
127 const struct lp_type type = bld->type; in lp_build_andnot()
154 const struct lp_type type = bld->type; in lp_build_not()
177 const struct lp_type type = bld->type; in lp_build_shl()
201 const struct lp_type type = bld->type; in lp_build_shr()
Dlp_bld_swizzle.c93 struct lp_type src_type, in lp_build_extract_broadcast()
94 struct lp_type dst_type, in lp_build_extract_broadcast()
161 const struct lp_type type = bld->type; in lp_build_swizzle_scalar_aos()
196 struct lp_type type2; in lp_build_swizzle_scalar_aos()
266 struct lp_type type4; in lp_build_swizzle_scalar_aos()
360 const struct lp_type type = bld->type; in lp_build_swizzle_aos()
468 struct lp_type type4; in lp_build_swizzle_aos()
648 struct lp_type single_type_lp, in lp_build_transpose_aos()
652 struct lp_type double_type_lp = single_type_lp; in lp_build_transpose_aos()
694 struct lp_type type, in lp_build_transpose_aos_n()
[all …]
Dlp_bld_conv.c99 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_length); in lp_build_half_to_float()
100 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_length); in lp_build_half_to_float()
143 struct lp_type i32_type = lp_type_int_vec(32, 32 * length); in lp_build_float_to_half()
144 struct lp_type i16_type = lp_type_int_vec(16, 16 * length); in lp_build_float_to_half()
158 struct lp_type i168_type = lp_type_int_vec(16, 16 * 8); in lp_build_float_to_half()
240 struct lp_type src_type, in lp_build_clamped_float_to_unsigned_norm()
367 struct lp_type dst_type, in lp_build_unsigned_norm_to_float()
442 struct lp_type src_type, in lp_build_conv_auto()
443 struct lp_type* dst_type, in lp_build_conv_auto()
534 struct lp_type src_type, in lp_build_conv()
[all …]
Dlp_bld_format_soa.c51 const struct lp_type soa_type) in convert_to_soa()
54 struct lp_type aos_channel_type = soa_type; in convert_to_soa()
127 struct lp_type type = bld->type; in lp_build_extract_soa_chan()
163 struct lp_type conv_type = lp_uint_type(type); in lp_build_extract_soa_chan()
229 struct lp_type f16i_type = type; in lp_build_extract_soa_chan()
303 struct lp_type type, in lp_build_unpack_rgba_soa()
354 struct lp_type dst_type, in lp_build_rgba8_to_fi32_soa()
415 struct lp_type type, in lp_build_fetch_rgba_soa()
426 struct lp_type fetch_type; in lp_build_fetch_rgba_soa()
494 struct lp_type fetch_type, gather_type = type; in lp_build_fetch_rgba_soa()
[all …]
Dlp_bld_arit.c95 const struct lp_type type = bld->type; in lp_build_min_simple()
313 const struct lp_type type = bld->type; in lp_build_max_simple()
500 const struct lp_type type = bld->type; in lp_build_comp()
538 const struct lp_type type = bld->type; in lp_build_add()
629 const struct lp_type type = bld->type; in lp_build_horizontal_add()
815 struct lp_type parttype = bld->type; in lp_build_hadd_partial4()
839 const struct lp_type type = bld->type; in lp_build_sub()
968 struct lp_type wide_type, in lp_build_mul_norm()
1027 const struct lp_type type = bld->type; in lp_build_mul()
1046 struct lp_type wide_type = lp_wider_type(type); in lp_build_mul()
[all …]
Dlp_bld_format_srgb.c95 struct lp_type src_type, in lp_build_srgb_to_linear()
99 struct lp_type f32_type = lp_type_float_vec(32, src_type.length * 32); in lp_build_srgb_to_linear()
161 struct lp_type src_type, in lp_build_linear_to_srgb()
187 struct lp_type int_type = lp_int_type(src_type); in lp_build_linear_to_srgb()
328 struct lp_type src_type, in lp_build_float_to_srgb_packed()
334 struct lp_type int32_type = lp_int_type(src_type); in lp_build_float_to_srgb_packed()
Dlp_bld_format_aos_array.c55 struct lp_type dst_type, in lp_build_fetch_rgba_aos_array()
63 struct lp_type src_type; in lp_build_fetch_rgba_aos_array()
65 struct lp_type tmp_type; in lp_build_fetch_rgba_aos_array()
Dlp_bld_gather.c168 struct lp_type dst_type, in lp_build_gather_elem_vec()
256 struct lp_type dst_type, in lp_build_gather_avx2()
263 struct lp_type res_type = dst_type; in lp_build_gather_avx2()
386 struct lp_type dst_type, in lp_build_gather()
395 struct lp_type fetch_type, fetch_dst_type; in lp_build_gather()
487 struct lp_type res_type, gather_res_type; in lp_build_gather()
548 struct lp_type really_final_type = dst_type; in lp_build_gather()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test.h100 dump_type(FILE *fp, struct lp_type type);
104 read_elem(struct lp_type type, const void *src, unsigned index);
108 write_elem(struct lp_type type, void *dst, unsigned index, double src);
112 random_elem(struct lp_type type, void *dst, unsigned index);
116 read_vec(struct lp_type type, const void *src, double *dst);
120 write_vec(struct lp_type type, void *dst, const double *src);
124 random_vec(struct lp_type type, void *dst);
128 compare_vec_with_eps(struct lp_type type, const void *res, const void *ref, double eps);
132 compare_vec(struct lp_type type, const void *res, const void *ref);
136 dump_vec(FILE *fp, struct lp_type type, const void *src);
Dlp_bld_depth.h48 struct lp_type;
52 struct lp_type
61 struct lp_type z_src_type,
75 struct lp_type z_src_type,
86 struct lp_type z_src_type,
101 struct lp_type type,
Dlp_test_conv.c64 struct lp_type src_type, in write_tsv_row()
65 struct lp_type dst_type, in write_tsv_row()
85 struct lp_type src_type, in dump_conv_types()
86 struct lp_type dst_type) in dump_conv_types()
101 struct lp_type src_type, unsigned num_srcs, in add_conv_test()
102 struct lp_type dst_type, unsigned num_dsts) in add_conv_test()
155 struct lp_type src_type, in test_one()
156 struct lp_type dst_type) in test_one()
333 const struct lp_type conv_types[] = {
394 const struct lp_type *src_type; in test_all()
[all …]
Dlp_test_main.c48 struct lp_type type) in dump_type()
60 read_elem(struct lp_type type, const void *src, unsigned index) in read_elem()
123 write_elem(struct lp_type type, void *dst, unsigned index, double value) in write_elem()
192 random_elem(struct lp_type type, void *dst, unsigned index) in random_elem()
220 read_vec(struct lp_type type, const void *src, double *dst) in read_vec()
229 write_vec(struct lp_type type, void *dst, const double *src) in write_vec()
245 random_vec(struct lp_type type, void *dst) in random_vec()
254 compare_vec_with_eps(struct lp_type type, const void *res, const void *ref, double eps) in compare_vec_with_eps()
276 compare_vec(struct lp_type type, const void *res, const void *ref) in compare_vec()
284 dump_vec(FILE *fp, struct lp_type type, const void *src) in dump_vec()
Dlp_bld_depth.c96 struct lp_type type = bld->type; in lp_build_stencil_test_single()
175 struct lp_type type = bld->type; in lp_build_stencil_op_single()
297 struct lp_type
301 struct lp_type type; in lp_depth_type()
426 struct lp_type type, in lp_build_occlusion_count()
529 struct lp_type z_src_type, in lp_build_depth_stencil_load_swizzled()
545 struct lp_type zs_type = lp_depth_type(format_desc, z_src_type.length); in lp_build_depth_stencil_load_swizzled()
546 struct lp_type zs_load_type = zs_type; in lp_build_depth_stencil_load_swizzled()
611 struct lp_type typex2 = zs_type; in lp_build_depth_stencil_load_swizzled()
612 struct lp_type s_type = zs_type; in lp_build_depth_stencil_load_swizzled()
[all …]
Dlp_bld_blend.h39 struct lp_type;
61 struct lp_type type,
105 struct lp_type type,

123