Searched refs:num_dsts (Results 1 - 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_conv.c | 47 * src_type.length * num_srcs == dst_type.length * num_dsts 465 * Pick a suitable num_dsts for lp_build_conv to ensure optimal cases are used. 477 int num_dsts = num_srcs; in lp_build_conv_auto() local 485 return num_dsts; in lp_build_conv_auto() 505 num_dsts = (num_srcs + 3) / 4; in lp_build_conv_auto() 508 lp_build_conv(gallivm, src_type, *dst_type, src, num_srcs, dst, num_dsts); in lp_build_conv_auto() 509 return num_dsts; in lp_build_conv_auto() 516 num_dsts = (num_srcs + 1) / 2; in lp_build_conv_auto() 519 lp_build_conv(gallivm, src_type, *dst_type, src, num_srcs, dst, num_dsts); in lp_build_conv_auto() 520 return num_dsts; in lp_build_conv_auto() 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 D | lp_bld_pack.c | 246 * Combines vectors to reduce from num_srcs to num_dsts. 249 * num_srcs must be exactly divisible by num_dsts. 252 * num_dsts = 1 dst = [xyzw] return = 4 253 * num_dsts = 2 dst = [xy, zw] return = 2 261 unsigned num_dsts) in lp_build_concat_n() 263 int size = num_srcs / num_dsts; in lp_build_concat_n() 266 assert(num_srcs >= num_dsts); in lp_build_concat_n() 269 if (num_srcs == num_dsts) { in lp_build_concat_n() 270 for (i = 0; i < num_dsts; ++i) { in lp_build_concat_n() 276 for (i = 0; i < num_dsts; in lp_build_concat_n() 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 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 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 D | lp_bld_pack.h | 89 LLVMValueRef *dst, unsigned num_dsts); 109 unsigned num_dsts); 149 LLVMValueRef *dst, unsigned num_dsts);
|
H A D | lp_bld_conv.h | 71 LLVMValueRef *dsts, unsigned num_dsts); 88 LLVMValueRef *dst, unsigned num_dsts);
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_conv.c | 102 struct lp_type dst_type, unsigned num_dsts) in add_conv_test() 135 lp_build_conv(gallivm, src_type, dst_type, src, num_srcs, dst, num_dsts); in add_conv_test() 137 for(i = 0; i < num_dsts; ++i) { in add_conv_test() 167 unsigned num_dsts; in test_one() local 199 num_dsts = src_type.length/dst_type.length; in test_one() 202 num_dsts = 1; in test_one() 206 num_dsts = 1; in test_one() 211 assert(src_type.length * num_srcs == dst_type.length * num_dsts); in test_one() 229 func = add_conv_test(gallivm, src_type, num_srcs, dst_type, num_dsts); in test_one() 253 for(j = 0; j < num_dsts; in test_one() 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 [all...] |
Completed in 5 milliseconds