Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c60 nir_imm_int(b, _mesa_bitcount(state->view_mask))); in build_instance_id()
75 if (0 && _mesa_bitcount(state->view_mask) == 1) { in build_view_index()
87 nir_imm_int(b, _mesa_bitcount(state->view_mask))); in build_view_index()
DgenX_query.c73 uint64s_per_slot += 2 * _mesa_bitcount(pipeline_statistics); in genX()
269 assert(idx == _mesa_bitcount(pool->pipeline_statistics)); in genX()
286 _mesa_bitcount(pool->pipeline_statistics) : 1; in genX()
486 _mesa_bitcount(cmd_buffer->state.subpass->view_mask); in genX()
543 _mesa_bitcount(cmd_buffer->state.subpass->view_mask); in genX()
780 assert(idx == _mesa_bitcount(pool->pipeline_statistics)); in genX()
797 _mesa_bitcount(pool->pipeline_statistics) : 1; in genX()
Danv_image.c757 assert(_mesa_bitcount(aspect) == 1 && (aspect & image->aspects)); in anv_layout_to_aux_usage()
1062 if (_mesa_bitcount(view_aspects) == 1) in remap_aspect_flags()
1066 for (uint32_t i = 0; i < _mesa_bitcount(view_aspects); i++) in remap_aspect_flags()
Danv_private.h2297 if (_mesa_bitcount(image_aspects) > 1) in anv_plane_to_aspect()
2639 _mesa_bitcount(aspects1) == _mesa_bitcount(aspects2)) in anv_image_aspects_compatible()
2824 return MAX2(1, _mesa_bitcount(subpass->view_mask)); in anv_subpass_view_count()
Danv_blorp.c273 if (_mesa_bitcount(src_mask) > 1) { in anv_CmdCopyImage()
DgenX_cmd_buffer.c1476 _mesa_bitcount(stages & VK_SHADER_STAGE_ALL_GRAPHICS); in cmd_buffer_alloc_push_constants()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c466 GLint rBits = _mesa_bitcount(rmask); in setup_truecolor()
467 GLint gBits = _mesa_bitcount(gmask); in setup_truecolor()
468 GLint bBits = _mesa_bitcount(bmask); in setup_truecolor()
831 red_bits = _mesa_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()
832 green_bits = _mesa_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()
833 blue_bits = _mesa_bitcount(GET_BLUEMASK(v)); in XMesaCreateVisual()
1097 else if ( _mesa_bitcount(width) == 1 in XMesaCreatePixmapTextureBuffer()
1098 && _mesa_bitcount(height) == 1) { in XMesaCreatePixmapTextureBuffer()
Dfakeglx.c513 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()
514 _mesa_bitcount((GLuint) vis->green_mask) <= 8 && in get_visual()
515 _mesa_bitcount((GLuint) vis->blue_mask ) <= 8) { in get_visual()
/external/mesa3d/src/mesa/main/
Dimports.h322 #define _mesa_bitcount(i) __builtin_popcount(i) macro
325 _mesa_bitcount(unsigned int n);
Dbuffers.c470 if (_mesa_bitcount(destMask[output]) > 1) { in draw_buffers()
719 if (n > 0 && _mesa_bitcount(destMask[0]) > 1) { in _mesa_drawbuffers()
738 assert(_mesa_bitcount(destMask[buf]) == 1); in _mesa_drawbuffers()
Dimports.c227 _mesa_bitcount(unsigned int n) in _mesa_bitcount() function
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c824 red_bits = _mesa_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()
825 green_bits = _mesa_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()
826 blue_bits = _mesa_bitcount(GET_BLUEMASK(v)); in XMesaCreateVisual()
1178 else if ( _mesa_bitcount(b->width) == 1 in XMesaCreatePixmapTextureBuffer()
1179 && _mesa_bitcount(b->height) == 1) { in XMesaCreatePixmapTextureBuffer()
Dglx_api.c420 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()
421 _mesa_bitcount((GLuint) vis->green_mask) <= 8 && in get_visual()
422 _mesa_bitcount((GLuint) vis->blue_mask ) <= 8) { in get_visual()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_curbe.c89 GLuint nr_planes = 6 + _mesa_bitcount(ctx->Transform.ClipPlanesEnabled); in calculate_curbe_offsets()
/external/mesa3d/src/compiler/glsl/
Dlinker.cpp2965 _mesa_bitcount(used_locations & SAFE_MASK_FROM_INDEX(max_index)) + in assign_attribute_or_color_locations()
2966 _mesa_bitcount(double_storage_locations); in assign_attribute_or_color_locations()
3029 _mesa_bitcount(used_locations & SAFE_MASK_FROM_INDEX(max_index)) + in assign_attribute_or_color_locations()
3030 _mesa_bitcount(double_storage_locations); in assign_attribute_or_color_locations()
/external/mesa3d/prebuilt-intermediates/glsl/
Dir_expression_operation_constant.h1000 data.i[c] = _mesa_bitcount(op[0]->value.u[c]);
1003 data.i[c] = _mesa_bitcount(op[0]->value.i[c]);
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c607 return _mesa_bitcount(value & ~(value + 1)); in count_trailing_one_bits()
659 assert(stack_depth == _mesa_bitcount(i)); /* Loop invariant */ in blorp_nir_manual_blend_average()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c1609 assert(_mesa_bitcount(bits) <= MAX_DRAW_BUFFERS); in _mesa_meta_drawbuffers_from_bitfield()
1661 assert(_mesa_bitcount(mask) <= MAX_DRAW_BUFFERS); in _mesa_meta_drawbuffers_and_colormask()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_nir.cpp719 assert(_mesa_bitcount(instr->dest.write_mask) == 1); in nir_emit_alu()