Home
last modified time | relevance | path

Searched refs:util_logbase2 (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_clear.c117 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_render_target()
118 rt_format |= util_logbase2(sf->height) << 24; in nv30_clear_render_target()
176 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_depth_stencil()
177 rt_format |= util_logbase2(sf->height) << 24; in nv30_clear_depth_stencil()
Dnv30_texture.c280 so->fmt |= util_logbase2(pt->width0) << 20; in nv30_sampler_view_create()
281 so->fmt |= util_logbase2(pt->height0) << 24; in nv30_sampler_view_create()
282 so->fmt |= util_logbase2(pt->depth0) << 28; in nv30_sampler_view_create()
Dnv30_transfer.c189 format |= util_logbase2(dst->w) << 16; in nv30_transfer_rect_blit()
190 format |= util_logbase2(dst->h) << 24; in nv30_transfer_rect_blit()
452 PUSH_DATA (push, ss_fmt | (util_logbase2(dst->w) << 16) | in nv30_transfer_rect_sifm()
453 (util_logbase2(dst->h) << 24)); in nv30_transfer_rect_sifm()
570 unsigned k = util_logbase2(MIN2(rect->w, rect->h)); in swizzle2d_ptr()
Dnv30_state_validate.c96 rt_format |= util_logbase2(w) << 16; in nv30_validate_fb()
97 rt_format |= util_logbase2(h) << 24; in nv30_validate_fb()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_screen.c179 levels = MIN2(util_logbase2(result.u) + 1, levels); in svga_get_param()
183 levels = MIN2(util_logbase2(result.u) + 1, levels); in svga_get_param()
192 return MIN2(util_logbase2(result.u) + 1, SVGA_MAX_TEXTURE_LEVELS); in svga_get_param()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vlc.h72 unsigned i, bits = util_logbase2(dst_size); in vl_vlc_init_table()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c75 tile = table[macrotile][util_logbase2(pixsize)][microtile][dim]; in r300_get_pixel_alignment()
79 h_tile = table[macrotile][util_logbase2(pixsize)][microtile][DIM_HEIGHT]; in r300_get_pixel_alignment()
Dr300_texture.c820 txdepth = util_logbase2(depth) & 0xf; in r300_texture_setup_format_state()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_screen.c427 PUSH_DATA (push, util_logbase2(screen->cur_tls_space / 8)); in nv50_screen_init_hwctx()
585 PUSH_DATA (push, util_logbase2(screen->cur_tls_space / 8)); in nv50_tls_realloc()
Dnv50_state_validate.c207 const unsigned n = util_logbase2(mask) + 1; in nv50_check_program_ucps()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_miptree.c62 const unsigned ms = util_logbase2(mt->base.base.nr_samples); in nvc0_mt_choose_storage_type()
Dnvc0_state_validate.c271 const unsigned n = util_logbase2(mask) + 1; in nvc0_check_program_ucps()
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c122 t->labels_size = 1 << (util_logbase2(t->labels_size) + 1); in get_label()
147 t->insn_size = 1 << (util_logbase2(t->insn_size) + 1); in set_insn_start()
Dst_glsl_to_tgsi.cpp3943 t->labels_size = 1 << (util_logbase2(t->labels_size) + 1); in get_label()
3967 t->insn_size = 1 << (util_logbase2(t->insn_size) + 1); in set_insn_start()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h572 util_logbase2(unsigned n) in util_logbase2() function
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_debug.c402 unsigned sz2 = util_logbase2(sz); in lp_debug_draw_bins_by_cmd_length()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_screen.h805 …templat.last_level = MAX2(MAX2(util_logbase2(templat.width0), util_logbase2(templat.height0)), uti… in create_resource()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c1097 unsigned log_samples = util_logbase2(texture->nr_samples); in evergreen_create_sampler_view()
1324 unsigned log_samples = util_logbase2(rtex->resource.b.b.nr_samples); in evergreen_init_color_surface()
1484 surf->db_depth_info |= S_028040_NUM_SAMPLES(util_logbase2(rtex->resource.b.b.nr_samples)); in evergreen_init_depth_surface()
1836 log_samples = util_logbase2(nr_samples); in evergreen_set_framebuffer_state()
Dr600_state.c1109 view->tex_resource_words[5] |= S_038014_LAST_LEVEL(util_logbase2(texture->nr_samples)); in r600_create_sampler_view()
1724 unsigned log_samples = util_logbase2(nr_samples); in r600_set_framebuffer_state()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_peephole.cpp686 i->setSrc(1, bld.mkImm(util_logbase2(imm0.reg.data.u32))); in opnd()
694 uint32_t l = util_logbase2(d); in opnd()
727 int32_t l = util_logbase2(static_cast<unsigned>(abs(d))); in opnd()
Dnv50_ir.cpp444 reg.data.u32 = util_logbase2(reg.data.u32); in applyLog2()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_emit_nvc0.cpp818 code[0] |= util_logbase2(typeSizeof(i->dType)) << 20; in emitCVT()
819 code[0] |= util_logbase2(typeSizeof(i->sType)) << 23; in emitCVT()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c1276 unsigned logbase2 = util_logbase2(block_length); in lp_build_sample_partial_offset()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c2475 samp->xpot = util_logbase2( texture->width0 ); in sp_sampler_variant_bind_view()
2476 samp->ypot = util_logbase2( texture->height0 ); in sp_sampler_variant_bind_view()