Searched refs:_mesa_is_pow_two (Results 1 – 17 of 17) sorted by relevance
130 if ((texImage->Width == 1 || _mesa_is_pow_two(texImage->Width2)) && in _swrast_init_texture_image()131 (texImage->Height == 1 || _mesa_is_pow_two(texImage->Height2)) && in _swrast_init_texture_image()132 (texImage->Depth == 1 || _mesa_is_pow_two(texImage->Depth2))) in _swrast_init_texture_image()
60 assert (mt->cpp >= 1 && mt->cpp <= 16 && _mesa_is_pow_two(mt->cpp)); in tr_mode_horizontal_texture_alignment()91 assert(_mesa_is_pow_two(mt->num_samples)); in tr_mode_horizontal_texture_alignment()155 assert (mt->cpp >= 1 && mt->cpp <= 16 && _mesa_is_pow_two(mt->cpp)) ; in tr_mode_vertical_texture_alignment()183 assert(_mesa_is_pow_two(mt->num_samples)); in tr_mode_vertical_texture_alignment()
177 _mesa_is_pow_two(ir->write_mask) && in visit_enter()
895 assert(_mesa_is_pow_two(s)); in spread()
516 if (!_mesa_is_pow_two(cpp) || cpp > 16) in can_fast_copy_blit()
2039 assert(_mesa_is_pow_two(dst.writemask) && in generate_code()
1176 assert(_mesa_is_pow_two(cpp)); in intel_get_tile_dims()
189 if (!_mesa_is_pow_two(mapsize)) { in _mesa_PixelMapfv()230 if (!_mesa_is_pow_two(mapsize)) { in _mesa_PixelMapuiv()285 if (!_mesa_is_pow_two(mapsize)) { in _mesa_PixelMapusv()
214 _mesa_is_pow_two(int x) in _mesa_is_pow_two() function
968 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()984 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()986 if (height > 0 && !_mesa_is_pow_two(height - 2 * border)) in _mesa_legal_texture_dimensions()1002 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()1004 if (height > 0 && !_mesa_is_pow_two(height - 2 * border)) in _mesa_legal_texture_dimensions()1006 if (depth > 0 && !_mesa_is_pow_two(depth - 2 * border)) in _mesa_legal_texture_dimensions()1039 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()1041 if (height > 0 && !_mesa_is_pow_two(height - 2 * border)) in _mesa_legal_texture_dimensions()1055 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()1073 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()[all …]
683 assert((alignment > 0) && _mesa_is_pow_two(alignment)); in ALIGN()711 assert((alignment > 0) && _mesa_is_pow_two(alignment)); in ROUND_DOWN_TO()
88 assert(samples > 0 && _mesa_is_pow_two(samples)); in setup_glsl_msaa_blit_scaled_shader()281 assert(samples > 0 && _mesa_is_pow_two(samples)); in setup_glsl_msaa_blit_shader()485 assert(_mesa_is_pow_two(samples)); in setup_glsl_msaa_blit_shader()
215 assert(_mesa_is_pow_two(dst->width) && in nv04_surface_copy_swizzle()216 _mesa_is_pow_two(dst->height)); in nv04_surface_copy_swizzle()
345 !_mesa_is_pow_two(firstImage->Height)) in i915_update_tex_unit()
402 if (_mesa_is_pow_two(ctx->Light._EnabledLights)) in validate_lighting()
105 if (!_mesa_is_pow_two(width) || target == GL_TEXTURE_RECTANGLE) { in get_texture_image_row_stride()