Home | History | Annotate | Download | only in gallivm

Lines Matching refs:src_type

95                         struct lp_type src_type,
99 struct lp_type f32_type = lp_type_float_vec(32, src_type.length * 32);
108 assert(src_type.width == 32);
161 struct lp_type src_type,
169 lp_build_context_init(&f32_bld, gallivm, src_type);
187 struct lp_type int_type = lp_int_type(src_type);
192 exponent = lp_build_const_vec(gallivm, src_type, exp_f);
193 coeff = lp_build_const_vec(gallivm, src_type,
206 lp_build_vec_type(gallivm, src_type), "");
227 coeff = lp_build_const_vec(gallivm, src_type,
233 if (lp_build_fast_rsqrt_available(src_type)) {
241 lp_build_const_vec(gallivm, src_type, -0.055f * 255.0f));
266 if (lp_build_fast_rsqrt_available(src_type)) {
280 if (lp_build_fast_rsqrt_available(src_type)) {
287 a_const = lp_build_const_vec(gallivm, src_type, 0.675f * 1.0622 * 255.0f);
288 b_const = lp_build_const_vec(gallivm, src_type, 0.325f * 1.0622 * 255.0f);
289 c_const = lp_build_const_vec(gallivm, src_type, -0.0620f * 255.0f);
297 lin_const = lp_build_const_vec(gallivm, src_type, 12.92f * 255.0f);
300 lin_thresh = lp_build_const_vec(gallivm, src_type, 0.0031308f);
301 is_linear = lp_build_compare(gallivm, src_type, PIPE_FUNC_LEQUAL, src, lin_thresh);
306 LLVMValueRef rescale_const = lp_build_const_vec(gallivm, src_type,
328 struct lp_type src_type,
334 struct lp_type int32_type = lp_int_type(src_type);
337 lp_build_context_init(&f32_bld, gallivm, src_type);
342 tmpsrgb[chan] = lp_build_linear_to_srgb(gallivm, src_type, chan_bits, src[chan]);
350 lp_build_const_vec(gallivm, src_type, 255.0f));