/third_party/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_type.c | 41 lp_build_elem_type(const struct gallivm_state *gallivm, struct lp_type type) in lp_build_elem_type() 68 lp_build_vec_type(const struct gallivm_state *gallivm, struct lp_type type) in lp_build_vec_type() 85 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type() 138 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type) in lp_check_vec_type() 165 lp_check_value(struct lp_type type, LLVMValueRef val) in lp_check_value() 179 struct lp_type type) in lp_build_int_elem_type() 187 struct lp_type type) in lp_build_int_vec_type() 200 struct lp_type 201 lp_elem_type(struct lp_type type) in lp_elem_type() 203 struct lp_type res_type; in lp_elem_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_swizzle.h | 44 struct lp_type; 64 struct lp_type src_type, 65 struct lp_type dst_type, 121 struct lp_type type, 128 struct lp_type type, 136 struct lp_type src_type, 137 struct lp_type dst_type, 144 struct lp_type src_type, 145 struct lp_type dst_type,
|
D | lp_bld_format.h | 43 struct lp_type; 108 struct lp_type type, 119 struct lp_type type, 137 struct lp_type type, 143 struct lp_type dst_type, 150 struct lp_type type, 162 struct lp_type type, 217 struct lp_type i32_type, 226 struct lp_type f32_type, 250 struct lp_type src_type, [all …]
|
D | lp_bld_const.c | 49 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() 167 lp_const_max(struct lp_type type) in lp_const_max() 200 lp_const_eps(struct lp_type type) in lp_const_eps() 222 lp_build_undef(struct gallivm_state *gallivm, struct lp_type type) in lp_build_undef() 230 lp_build_zero(struct gallivm_state *gallivm, struct lp_type type) in lp_build_zero() 245 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; 107 struct lp_type type; 126 struct lp_type int_type; 145 struct lp_type type; 389 struct lp_type float_type; 396 struct lp_type int_type; 400 struct lp_type coord_type; 404 struct lp_type int_coord_type; 408 struct lp_type int_size_in_type; 412 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 | 94 struct lp_type src_type, in lp_build_extract_broadcast() 95 struct lp_type dst_type, in lp_build_extract_broadcast() 156 const struct lp_type type = bld->type; in lp_build_swizzle_scalar_aos() 188 struct lp_type type2; in lp_build_swizzle_scalar_aos() 273 struct lp_type type4 = type; in lp_build_swizzle_scalar_aos() 350 const struct lp_type type = bld->type; in lp_build_swizzle_aos() 472 struct lp_type type4 = type; in lp_build_swizzle_aos() 631 struct lp_type single_type_lp, in lp_build_transpose_aos() 635 struct lp_type double_type_lp = single_type_lp; in lp_build_transpose_aos() 703 struct lp_type type, in lp_build_transpose_aos_n() [all …]
|
D | lp_bld_conv.c | 107 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_length); in lp_build_half_to_float() 108 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_length); in lp_build_half_to_float() 167 struct lp_type i32_type = lp_type_int_vec(32, 32 * length); in lp_build_float_to_half() 168 struct lp_type i16_type = lp_type_int_vec(16, 16 * length); in lp_build_float_to_half() 182 struct lp_type i168_type = lp_type_int_vec(16, 16 * 8); in lp_build_float_to_half() 265 struct lp_type src_type, in lp_build_clamped_float_to_unsigned_norm() 395 struct lp_type dst_type, in lp_build_unsigned_norm_to_float() 470 struct lp_type src_type, in lp_build_conv_auto() 471 struct lp_type* dst_type, in lp_build_conv_auto() 562 struct lp_type src_type, in lp_build_conv() [all …]
|
D | lp_bld_arit.c | 97 const struct lp_type type = bld->type; in lp_build_min_simple() 251 const struct lp_type type = bld->type; in lp_build_max_simple() 378 const struct lp_type type = bld->type; in lp_build_comp() 410 const struct lp_type type = bld->type; in lp_build_add() 524 const struct lp_type type = bld->type; in lp_build_horizontal_add() 711 struct lp_type parttype = bld->type; in lp_build_hadd_partial4() 736 const struct lp_type type = bld->type; in lp_build_sub() 884 struct lp_type wide_type, in lp_build_mul_norm() 944 const struct lp_type type = bld->type; in lp_build_mul() 961 struct lp_type wide_type = lp_wider_type(type); in lp_build_mul() [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_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_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_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()
|
/third_party/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 | 47 struct lp_type; 51 struct lp_type 60 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() 344 const struct lp_type conv_types[] = { 405 const struct lp_type *src_type; in test_all() [all …]
|
D | lp_test_main.c | 47 struct lp_type type) in dump_type() 59 read_elem(struct lp_type type, const void *src, unsigned index) in read_elem() 122 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() 228 read_vec(struct lp_type type, const void *src, double *dst) in read_vec() 237 write_vec(struct lp_type type, void *dst, const double *src) in write_vec() 253 random_vec(struct lp_type type, void *dst) in random_vec() 262 compare_vec_with_eps(struct lp_type type, const void *res, const void *ref, double eps) in compare_vec_with_eps() 284 compare_vec(struct lp_type type, const void *res, const void *ref) in compare_vec() 292 dump_vec(FILE *fp, struct lp_type type, const void *src) in dump_vec()
|
D | lp_bld_depth.c | 97 struct lp_type type = bld->type; in lp_build_stencil_test_single() 176 struct lp_type type = bld->type; in lp_build_stencil_op_single() 303 struct lp_type 307 struct lp_type type; in lp_depth_type() 429 struct lp_type type, in lp_build_occlusion_count() 535 struct lp_type z_src_type, in lp_build_depth_stencil_load_swizzled() 548 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() 622 struct lp_type typex2 = zs_type; in lp_build_depth_stencil_load_swizzled() 623 struct lp_type s_type = zs_type; in lp_build_depth_stencil_load_swizzled() [all …]
|
D | lp_bld_blend.c | 114 const struct lp_type type = bld->type; in lp_build_mul_norm_expand() 115 struct lp_type wide_type = lp_wider_type(type); in lp_build_mul_norm_expand() 116 struct lp_type wide_type2 = wide_type; in lp_build_mul_norm_expand() 117 struct lp_type type2 = type; in lp_build_mul_norm_expand() 265 struct lp_type wide_type = lp_wider_type(bld->type); in lp_build_blend() 321 struct lp_type type, in lp_build_alpha_to_coverage()
|
D | lp_bld_blend.h | 39 struct lp_type; 61 struct lp_type type, 104 struct lp_type type,
|