Searched refs:srcf (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_srgb.c | 102 LLVMValueRef srcf, part_lin, part_pow, is_linear, lin_const, lin_thresh; in lp_build_srgb_to_linear() local 130 srcf = lp_build_int_to_float(&f32_bld, src); in lp_build_srgb_to_linear() 135 srcf = lp_build_mul(&f32_bld, srcf, rescale_const); in lp_build_srgb_to_linear() 138 part_lin = lp_build_mul(&f32_bld, srcf, lin_const); in lp_build_srgb_to_linear() 140 part_pow = lp_build_polynomial(&f32_bld, srcf, coeffs, 4); in lp_build_srgb_to_linear() 143 is_linear = lp_build_compare(gallivm, f32_type, PIPE_FUNC_LEQUAL, srcf, lin_thresh); in lp_build_srgb_to_linear()
|