Searched refs:_mesa_bitcount (Results 1 - 14 of 14) sorted by relevance

/external/mesa3d/src/mesa/main/
H A Dimports.h329 #define _mesa_bitcount(i) __builtin_popcount(i) macro
332 _mesa_bitcount(unsigned int n);
H A Dbuffers.c427 if (_mesa_bitcount(destMask[output]) > 1) {
631 if (n > 0 && _mesa_bitcount(destMask[0]) > 1) {
650 assert(_mesa_bitcount(destMask[buf]) == 1);
H A Dimports.c227 _mesa_bitcount(unsigned int n) function
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_api.c466 GLint rBits = _mesa_bitcount(rmask);
467 GLint gBits = _mesa_bitcount(gmask);
468 GLint bBits = _mesa_bitcount(bmask);
831 red_bits = _mesa_bitcount(GET_REDMASK(v));
832 green_bits = _mesa_bitcount(GET_GREENMASK(v));
833 blue_bits = _mesa_bitcount(GET_BLUEMASK(v));
1096 else if ( _mesa_bitcount(width) == 1
1097 && _mesa_bitcount(height) == 1) {
H A Dfakeglx.c513 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 &&
514 _mesa_bitcount((GLuint) vis->green_mask) <= 8 &&
515 _mesa_bitcount((GLuint) vis->blue_mask ) <= 8) {
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dxm_api.c816 red_bits = _mesa_bitcount(GET_REDMASK(v));
817 green_bits = _mesa_bitcount(GET_GREENMASK(v));
818 blue_bits = _mesa_bitcount(GET_BLUEMASK(v));
1161 else if ( _mesa_bitcount(b->width) == 1
1162 && _mesa_bitcount(b->height) == 1) {
H A Dglx_api.c418 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 &&
419 _mesa_bitcount((GLuint) vis->green_mask) <= 8 &&
420 _mesa_bitcount((GLuint) vis->blue_mask ) <= 8) {
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_curbe.c89 GLuint nr_planes = 6 + _mesa_bitcount(ctx->Transform.ClipPlanesEnabled);
H A Dbrw_fs_nir.cpp633 assert(_mesa_bitcount(instr->dest.write_mask) == 1);
/external/mesa3d/prebuilt-intermediates/glsl/
H A Dir_expression_operation_constant.h694 data.i[c] = _mesa_bitcount(op[0]->value.u[c]);
697 data.i[c] = _mesa_bitcount(op[0]->value.i[c]);
/external/mesa3d/src/compiler/glsl/
H A Dlinker.cpp2884 _mesa_bitcount(used_locations & ((1 << max_index) - 1)) +
2885 _mesa_bitcount(double_storage_locations);
2948 _mesa_bitcount(used_locations & ((1 << max_index) - 1)) +
2949 _mesa_bitcount(double_storage_locations);
/external/mesa3d/src/intel/blorp/
H A Dblorp_blit.c597 return _mesa_bitcount(value & ~(value + 1));
649 assert(stack_depth == _mesa_bitcount(i)); /* Loop invariant */
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta.c1595 assert(_mesa_bitcount(bits) <= MAX_DRAW_BUFFERS);
1647 assert(_mesa_bitcount(mask) <= MAX_DRAW_BUFFERS);
/external/mesa3d/src/intel/vulkan/
H A DgenX_cmd_buffer.c1033 _mesa_bitcount(stages & VK_SHADER_STAGE_ALL_GRAPHICS);

Completed in 289 milliseconds