Home
last modified time | relevance | path

Searched refs:util_is_power_of_two_or_zero (Results 1 – 25 of 58) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c169 spr->pot = (util_is_power_of_two_or_zero(templat->width0) && in softpipe_resource_create_front()
170 util_is_power_of_two_or_zero(templat->height0) && in softpipe_resource_create_front()
171 util_is_power_of_two_or_zero(templat->depth0)); in softpipe_resource_create_front()
234 spr->pot = (util_is_power_of_two_or_zero(templat->width0) && in softpipe_resource_from_handle()
235 util_is_power_of_two_or_zero(templat->height0) && in softpipe_resource_from_handle()
236 util_is_power_of_two_or_zero(templat->depth0)); in softpipe_resource_from_handle()
/external/mesa3d/src/mesa/swrast/
Ds_texture.c132 if ((texImage->Width == 1 || util_is_power_of_two_or_zero(texImage->Width2)) && in _swrast_init_texture_image()
133 (texImage->Height == 1 || util_is_power_of_two_or_zero(texImage->Height2)) && in _swrast_init_texture_image()
134 (texImage->Depth == 1 || util_is_power_of_two_or_zero(texImage->Depth2))) in _swrast_init_texture_image()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_gather.c121 } else if (!util_is_power_of_two_or_zero(src_width)) { in lp_build_gather_elem()
133 util_is_power_of_two_or_zero(src_width / 24)) { in lp_build_gather_elem()
202 } else if (!util_is_power_of_two_or_zero(src_width)) { in lp_build_gather_elem_vec()
214 util_is_power_of_two_or_zero(src_width / 24)) { in lp_build_gather_elem_vec()
Dlp_bld_debug.cpp64 assert(util_is_power_of_two_or_zero(alignment)); in lp_check_alignment()
Dlp_bld_sample.c117 state->pot_width = util_is_power_of_two_or_zero(texture->width0); in lp_sampler_static_texture_state()
118 state->pot_height = util_is_power_of_two_or_zero(texture->height0); in lp_sampler_static_texture_state()
119 state->pot_depth = util_is_power_of_two_or_zero(texture->depth0); in lp_sampler_static_texture_state()
153 state->pot_width = util_is_power_of_two_or_zero(resource->width0); in lp_sampler_static_texture_state_image()
154 state->pot_height = util_is_power_of_two_or_zero(resource->height0); in lp_sampler_static_texture_state_image()
155 state->pot_depth = util_is_power_of_two_or_zero(resource->depth0); in lp_sampler_static_texture_state_image()
Dlp_bld_format_aos.c502 util_is_power_of_two_or_zero(format_desc->block.bits)) { in lp_build_fetch_rgba_aos()
615 util_is_power_of_two_or_zero(format_desc->block.bits) && in lp_build_fetch_rgba_aos()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c67 if (util_is_power_of_two_or_zero(util_format_get_blocksize(format)) || in fd2_screen_is_format_supported()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c310 bool is_npot = (!util_is_power_of_two_or_zero(pt->width0) || in update_map()
311 !util_is_power_of_two_or_zero(pt->height0)); in update_map()
/external/mesa3d/src/panfrost/lib/
Dpan_attributes.c176 } else if(util_is_power_of_two_or_zero(padded_count)) { in panfrost_instance_id()
/external/mesa3d/src/freedreno/vulkan/
Dtu_nir_lower_multiview.c22 if (util_is_power_of_two_or_zero(*mask + 1)) { in lower_multiview_mask()
/external/mesa3d/src/mesa/main/
Dpixel.c188 if (!util_is_power_of_two_or_zero(mapsize)) { in _mesa_PixelMapfv()
229 if (!util_is_power_of_two_or_zero(mapsize)) { in _mesa_PixelMapuiv()
284 if (!util_is_power_of_two_or_zero(mapsize)) { in _mesa_PixelMapusv()
/external/mesa3d/src/util/
Dbitscan.h121 util_is_power_of_two_or_zero(unsigned v) in util_is_power_of_two_or_zero() function
/external/mesa3d/src/gallium/drivers/iris/
Diris_formats.c118 !util_is_power_of_two_or_zero(sample_count)) in iris_is_format_supported()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c273 !util_is_power_of_two_or_zero(tex->b.b.width0) || in r300_setup_flags()
280 !util_is_power_of_two_or_zero(tex->b.b.height0) || in r300_setup_flags()
281 !util_is_power_of_two_or_zero(tex->b.b.depth0); in r300_setup_flags()
/external/mesa3d/src/freedreno/fdl/
Dfreedreno_layout.h138 assert(util_is_power_of_two_or_zero(layout->cpp)); in fdl_cpp_shift()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c449 !util_is_power_of_two_or_zero(pt->width0) || in nv30_miptree_create()
450 !util_is_power_of_two_or_zero(pt->height0) || in nv30_miptree_create()
451 !util_is_power_of_two_or_zero(pt->depth0) || in nv30_miptree_create()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c255 (!util_is_power_of_two_or_zero(res->base.width0) || in etna_create_sampler_view_state()
256 !util_is_power_of_two_or_zero(res->base.height0))) { in etna_create_sampler_view_state()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_readpixels.c276 (!util_is_power_of_two_or_zero(width) || in blit_to_staging()
277 !util_is_power_of_two_or_zero(height))) in blit_to_staging()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c95 if (util_is_power_of_two_or_zero(state->view_mask + 1)) { in build_view_index()
Danv_formats.c494 if (!util_is_power_of_two_or_zero(isl_layout->bpb)) in anv_get_format_plane()
502 !util_is_power_of_two_or_zero(isl_layout->bpb)) { in anv_get_format_plane()
640 !util_is_power_of_two_or_zero(isl_format_layouts[base_isl_format].bpb) && in anv_get_image_format_features()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_surface.c211 assert(util_is_power_of_two_or_zero(dst->width) && in nv04_surface_copy_swizzle()
212 util_is_power_of_two_or_zero(dst->height)); in nv04_surface_copy_swizzle()
/external/mesa3d/src/mesa/tnl/
Dt_vb_light.c402 if (util_is_power_of_two_or_zero(ctx->Light._EnabledLights)) in validate_lighting()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c40 if (util_is_power_of_two_or_zero(num)) { in si_llvm_bound_index()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c345 !util_is_power_of_two_or_zero(firstImage->Height)) in i915_update_tex_unit()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp114 || !util_is_power_of_two_or_zero(sample_count)) in swr_is_format_supported()
1084 || !util_is_power_of_two_or_zero(msaa_max_count)) { in swr_validate_env_options()

123