Searched refs:chan_bits (Results 1 - 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_srgb.c | 92 * (chan_bits bit values unpacked to 32 bit already). 97 unsigned chan_bits, in lp_build_srgb_to_linear() 111 assert(chan_bits <= 8); in lp_build_srgb_to_linear() 131 if (chan_bits != 8) { in lp_build_srgb_to_linear() 134 255.0f / ((1 << chan_bits) - 1)); in lp_build_srgb_to_linear() 163 unsigned chan_bits, in lp_build_linear_to_srgb() 305 if (chan_bits != 8) { in lp_build_linear_to_srgb() 308 ((1 << chan_bits) - 1) / 255.0f); in lp_build_linear_to_srgb() 342 unsigned chan_bits = dst_fmt->channel[dst_fmt->swizzle[chan]].size; in lp_build_float_to_srgb_packed() local 343 tmpsrgb[chan] = lp_build_linear_to_srgb(gallivm, src_type, chan_bits, sr in lp_build_float_to_srgb_packed() 95 lp_build_srgb_to_linear(struct gallivm_state *gallivm, struct lp_type src_type, unsigned chan_bits, LLVMValueRef src) lp_build_srgb_to_linear() argument 161 lp_build_linear_to_srgb(struct gallivm_state *gallivm, struct lp_type src_type, unsigned chan_bits, LLVMValueRef src) lp_build_linear_to_srgb() argument [all...] |
H A D | lp_bld_format.h | 256 unsigned chan_bits,
|
/third_party/mesa3d/src/intel/blorp/ |
H A D | blorp_blit.c | 895 const unsigned chan_bits = src_fmtl->channels_array[c].bits; in bit_cast_color() local 899 chan = nir_format_float_to_unorm(b, chan, &chan_bits); in bit_cast_color() 912 const unsigned chan_bits = dst_fmtl->channels_array[c].bits; in bit_cast_color() local 914 nir_imm_int(b, BITFIELD_MASK(chan_bits))); in bit_cast_color() 917 chans[c] = nir_format_unorm_to_float(b, chans[c], &chan_bits); in bit_cast_color()
|
Completed in 9 milliseconds