Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c280 unsigned chan_size = 0; in panfrost_emit_bifrost_blend() local
285 chan_size = MAX2(format_desc->channel[0].size, chan_size); in panfrost_emit_bifrost_blend()
290 u16 constant = blend[i].equation.constant * ((1 << chan_size) - 1); in panfrost_emit_bifrost_blend()
291 constant <<= 16 - chan_size; in panfrost_emit_bifrost_blend()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c2295 unsigned chan_size = format_desc->channel[chan].size; in lp_build_clamp_border_color() local
2296 if (chan_size < 32) { in lp_build_clamp_border_color()
2298 0 - (1 << (chan_size - 1))); in lp_build_clamp_border_color()
2300 (1 << (chan_size - 1)) - 1); in lp_build_clamp_border_color()
2323 unsigned chan_size = format_desc->channel[chan].size; in lp_build_clamp_border_color() local
2324 if (chan_size < 32) { in lp_build_clamp_border_color()
2326 (1 << chan_size) - 1); in lp_build_clamp_border_color()