Home
last modified time | relevance | path

Searched refs:lin_const (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_srgb.c102 LLVMValueRef srcf, part_lin, part_pow, is_linear, lin_const, lin_thresh; in lp_build_srgb_to_linear() local
137 lin_const = lp_build_const_vec(gallivm, f32_type, 1.0f / (12.6f * 255.0f)); in lp_build_srgb_to_linear()
138 part_lin = lp_build_mul(&f32_bld, srcf, lin_const); in lp_build_srgb_to_linear()
168 LLVMValueRef lin_thresh, lin, lin_const, is_linear, tmp, pow_final; in lp_build_linear_to_srgb() local
298 lin_const = lp_build_const_vec(gallivm, src_type, 12.92f * 255.0f); in lp_build_linear_to_srgb()
299 lin = lp_build_mul(&f32_bld, src, lin_const); in lp_build_linear_to_srgb()