Searched refs:util_bitcount (Results 1 – 9 of 9) sorted by relevance
314 util_bitcount(unsigned n) in util_bitcount() function349 return util_bitcount(n); in util_popcnt_inline_asm()359 return util_bitcount(n) + util_bitcount(n >> 32); in util_bitcount64()403 return util_bitcount(n); in util_bitcount_fast()
287 prefix += util_bitcount(x[i]); in __bitset_prefix_sum()289 prefix += util_bitcount(x[i] & BITFIELD_MASK(b - i * BITSET_WORDBITS)); in __bitset_prefix_sum()
327 assert(util_bitcount((uint32_t) vk_stage) == 1); in vk_to_mesa_shader_stage()
387 assert(util_bitcount(aspect) == 1); in vk_format_get_aspect_format()
193 assert(util_bitcount(info->stage) == 1); in vk_pipeline_hash_shader_stage()
596 assert(util_bitcount(aspect) == 1); in vk_image_layout_is_read_only()888 assert(util_bitcount(aspect) == 1); in vk_image_layout_to_usage_flags()
2011 max_image_barrier_count += util_bitcount(subpass->view_mask) * in begin_subpass()2012 util_bitcount(rp_att->aspects); in begin_subpass()2015 max_image_barrier_count += util_bitcount(subpass->view_mask); in begin_subpass()2437 max_image_barrier_count += util_bitcount(pass->view_mask) * in vk_common_CmdEndRenderPass2()2438 util_bitcount(rp_att->aspects); in vk_common_CmdEndRenderPass2()
320 util_bitcount(render->view_mask); in vk_meta_clear_attachments()
825 return format_get_component_bits(format, 0) == util_bitcount(type->red_mask) && in rgb_component_bits_are_equal()826 format_get_component_bits(format, 1) == util_bitcount(type->green_mask) && in rgb_component_bits_are_equal()827 format_get_component_bits(format, 2) == util_bitcount(type->blue_mask); in rgb_component_bits_are_equal()