/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_type.h | 83 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 …]
|
D | lp_bld_pack.h | 45 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 …]
|
D | lp_bld_const.h | 46 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 …]
|
D | lp_bld_conv.h | 43 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,
|
D | lp_bld_type.c | 37 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 …]
|
D | lp_bld_swizzle.h | 43 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,
|
D | lp_bld_format.h | 43 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, 157 struct lp_type type, 212 struct lp_type i32_type, 221 struct lp_type f32_type, 245 struct lp_type src_type, [all …]
|
D | lp_bld_const.c | 48 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 …]
|
D | lp_bld_sample.h | 54 struct lp_type; 105 struct lp_type type; 122 struct lp_type int_type; 141 struct lp_type type; 378 struct lp_type float_type; 385 struct lp_type int_type; 389 struct lp_type coord_type; 393 struct lp_type int_coord_type; 397 struct lp_type int_size_in_type; 401 struct lp_type float_size_in_type; [all …]
|
D | lp_bld_pack.c | 214 struct lp_type src_type, in lp_build_concat() 257 struct lp_type src_type, in lp_build_concat_n() 318 struct lp_type type, in lp_build_interleave2() 334 struct lp_type tmp_type = type; in lp_build_interleave2() 382 struct lp_type type, in lp_build_interleave2_half() 408 struct lp_type src_type, in lp_build_unpack2() 409 struct lp_type dst_type, in lp_build_unpack2() 461 struct lp_type src_type, in lp_build_unpack2_native() 462 struct lp_type dst_type, in lp_build_unpack2_native() 516 struct lp_type src_type, in lp_build_unpack() [all …]
|
D | lp_bld_format_float.c | 73 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 …]
|
D | lp_bld_swizzle.c | 93 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() 722 struct lp_type type, in lp_build_transpose_aos_n() [all …]
|
D | lp_bld_conv.c | 99 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() 157 struct lp_type i32_type = lp_type_int_vec(32, 32 * length); in lp_build_float_to_half() 158 struct lp_type i16_type = lp_type_int_vec(16, 16 * length); in lp_build_float_to_half() 172 struct lp_type i168_type = lp_type_int_vec(16, 16 * 8); in lp_build_float_to_half() 254 struct lp_type src_type, in lp_build_clamped_float_to_unsigned_norm() 384 struct lp_type dst_type, in lp_build_unsigned_norm_to_float() 459 struct lp_type src_type, in lp_build_conv_auto() 460 struct lp_type* dst_type, in lp_build_conv_auto() 551 struct lp_type src_type, in lp_build_conv() [all …]
|
D | lp_bld_bitarit.c | 44 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()
|
D | lp_bld_arit.c | 97 const struct lp_type type = bld->type; in lp_build_min_simple() 267 const struct lp_type type = bld->type; in lp_build_max_simple() 410 const struct lp_type type = bld->type; in lp_build_comp() 448 const struct lp_type type = bld->type; in lp_build_add() 562 const struct lp_type type = bld->type; in lp_build_horizontal_add() 748 struct lp_type parttype = bld->type; in lp_build_hadd_partial4() 772 const struct lp_type type = bld->type; in lp_build_sub() 917 struct lp_type wide_type, in lp_build_mul_norm() 976 const struct lp_type type = bld->type; in lp_build_mul() 995 struct lp_type wide_type = lp_wider_type(type); in lp_build_mul() [all …]
|
D | lp_bld_format_srgb.c | 96 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() 162 struct lp_type 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() 329 struct lp_type src_type, in lp_build_float_to_srgb_packed() 335 struct lp_type int32_type = lp_int_type(src_type); in lp_build_float_to_srgb_packed()
|
D | lp_bld_format_soa.c | 53 const struct lp_type soa_type) in convert_to_soa() 56 struct lp_type aos_channel_type = soa_type; in convert_to_soa() 129 struct lp_type type = bld->type; in lp_build_extract_soa_chan() 165 struct lp_type conv_type = lp_uint_type(type); in lp_build_extract_soa_chan() 231 struct lp_type f16i_type = type; in lp_build_extract_soa_chan() 305 struct lp_type type, in lp_build_unpack_rgba_soa() 356 struct lp_type dst_type, in lp_build_rgba8_to_fi32_soa() 417 struct lp_type type, in lp_build_fetch_rgba_soa() 428 struct lp_type fetch_type; in lp_build_fetch_rgba_soa() 496 struct lp_type fetch_type, gather_type = type; in lp_build_fetch_rgba_soa() [all …]
|
D | lp_bld_format_aos_array.c | 55 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()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test.h | 100 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);
|
D | lp_bld_depth.h | 48 struct lp_type; 52 struct lp_type 61 struct lp_type z_src_type, 76 struct lp_type z_src_type, 87 struct lp_type z_src_type, 102 struct lp_type type,
|
D | lp_test_conv.c | 64 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() 341 const struct lp_type conv_types[] = { 402 const struct lp_type *src_type; in test_all() [all …]
|
D | lp_test_main.c | 48 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() 193 random_elem(struct lp_type type, void *dst, unsigned index) in random_elem() 229 read_vec(struct lp_type type, const void *src, double *dst) in read_vec() 238 write_vec(struct lp_type type, void *dst, const double *src) in write_vec() 254 random_vec(struct lp_type type, void *dst) in random_vec() 263 compare_vec_with_eps(struct lp_type type, const void *res, const void *ref, double eps) in compare_vec_with_eps() 285 compare_vec(struct lp_type type, const void *res, const void *ref) in compare_vec() 293 dump_vec(FILE *fp, struct lp_type type, const void *src) in dump_vec()
|
D | lp_bld_blend.h | 39 struct lp_type; 61 struct lp_type type, 105 struct lp_type type,
|
D | lp_bld_blend.c | 113 const struct lp_type type = bld->type; in lp_build_mul_norm_expand() 114 struct lp_type wide_type = lp_wider_type(type); in lp_build_mul_norm_expand() 115 struct lp_type wide_type2 = wide_type; in lp_build_mul_norm_expand() 116 struct lp_type type2 = type; in lp_build_mul_norm_expand() 264 struct lp_type wide_type = lp_wider_type(bld->type); in lp_build_blend() 320 struct lp_type type, in lp_build_alpha_to_coverage()
|
D | lp_bld_depth.c | 96 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() 533 struct lp_type z_src_type, in lp_build_depth_stencil_load_swizzled() 549 struct lp_type zs_type = lp_depth_type(format_desc, z_src_type.length); in lp_build_depth_stencil_load_swizzled() 550 struct lp_type zs_load_type = zs_type; in lp_build_depth_stencil_load_swizzled() 621 struct lp_type typex2 = zs_type; in lp_build_depth_stencil_load_swizzled() 622 struct lp_type s_type = zs_type; in lp_build_depth_stencil_load_swizzled() [all …]
|