/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_texture.c | 169 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/ |
D | s_texture.c | 132 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/ |
D | lp_bld_gather.c | 121 } 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()
|
D | lp_bld_debug.cpp | 64 assert(util_is_power_of_two_or_zero(alignment)); in lp_check_alignment()
|
D | lp_bld_sample.c | 117 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()
|
D | lp_bld_format_aos.c | 502 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/ |
D | fd2_screen.c | 67 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/ |
D | i915_state_sampler.c | 310 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/ |
D | pan_attributes.c | 176 } else if(util_is_power_of_two_or_zero(padded_count)) { in panfrost_instance_id()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_nir_lower_multiview.c | 22 if (util_is_power_of_two_or_zero(*mask + 1)) { in lower_multiview_mask()
|
/external/mesa3d/src/mesa/main/ |
D | pixel.c | 188 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/ |
D | bitscan.h | 121 util_is_power_of_two_or_zero(unsigned v) in util_is_power_of_two_or_zero() function
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_formats.c | 118 !util_is_power_of_two_or_zero(sample_count)) in iris_is_format_supported()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 273 !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/ |
D | freedreno_layout.h | 138 assert(util_is_power_of_two_or_zero(layout->cpp)); in fdl_cpp_shift()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 449 !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/ |
D | etnaviv_texture_state.c | 255 (!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/ |
D | st_cb_readpixels.c | 276 (!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/ |
D | anv_nir_lower_multiview.c | 95 if (util_is_power_of_two_or_zero(state->view_mask + 1)) { in build_view_index()
|
D | anv_formats.c | 494 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/ |
D | nv04_surface.c | 211 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/ |
D | t_vb_light.c | 402 if (util_is_power_of_two_or_zero(ctx->Light._EnabledLights)) in validate_lighting()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_resources.c | 40 if (util_is_power_of_two_or_zero(num)) { in si_llvm_bound_index()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_texstate.c | 345 !util_is_power_of_two_or_zero(firstImage->Height)) in i915_update_tex_unit()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_screen.cpp | 114 || !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()
|