Searched refs:chan_size (Results 1 - 7 of 7) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_cs.c622 unsigned chan_size = 0; local in function:panvk_per_arch
624 chan_size = MAX2(format_desc->channel[i].size, chan_size);
633 u16 constant = fconst * ((1 << chan_size) - 1);
634 constant <<= 16 - chan_size;
H A Dpanvk_vX_pipeline.c624 unsigned chan_size = 0; local in function:panvk_pipeline_builder_parse_color_blend
626 chan_size = MAX2(format_desc->channel[c].size, chan_size);
628 ((1 << chan_size) - 1) << (16 - chan_size);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/
H A Dagx_state.c812 unsigned chan_size = desc->channel[0].size / 8; local in function:agx_create_vertex_elements
814 assert(chan_size == 1 || chan_size == 2 || chan_size == 4);
816 assert((ve.src_offset & (chan_size - 1)) == 0);
820 .src_offset = ve.src_offset / chan_size,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c2270 unsigned chan_size = format_desc->channel[chan].size; local in function:lp_build_clamp_border_color
2271 if (chan_size < 32) {
2273 0 - (1 << (chan_size - 1)));
2275 (1 << (chan_size - 1)) - 1);
2298 unsigned chan_size = format_desc->channel[chan].size; local in function:lp_build_clamp_border_color
2299 if (chan_size < 32) {
2301 (1 << chan_size) - 1);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c2747 unsigned chan_size = format_desc->channel[chan].size; local in function:lp_build_clamp_border_color
2748 if (chan_size < 32) {
2750 0 - (1 << (chan_size - 1)));
2752 (1 << (chan_size - 1)) - 1);
2775 unsigned chan_size = format_desc->channel[chan].size; local in function:lp_build_clamp_border_color
2776 if (chan_size < 32) {
2778 (1 << chan_size) - 1);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
H A Dpan_cmdstream.c261 unsigned chan_size = 0; local in function:pack_blend_constant
264 chan_size = MAX2(format_desc->channel[0].size, chan_size);
266 uint16_t unorm = (cons * ((1 << chan_size) - 1));
267 return unorm << (16 - chan_size);
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.3.0.rst610 - panvk: Fix chan_size calculation in panvk_emit_blend()

Completed in 34 milliseconds