/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_clear.c | 117 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()
|
D | nv30_texture.c | 280 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()
|
D | nv30_transfer.c | 189 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()
|
D | nv30_state_validate.c | 96 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/ |
D | svga_screen.c | 179 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/ |
D | vl_vlc.h | 72 unsigned i, bits = util_logbase2(dst_size); in vl_vlc_init_table()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 75 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()
|
D | r300_texture.c | 820 txdepth = util_logbase2(depth) & 0xf; in r300_texture_setup_format_state()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_screen.c | 427 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()
|
D | nv50_state_validate.c | 207 const unsigned n = util_logbase2(mask) + 1; in nv50_check_program_ucps()
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_miptree.c | 62 const unsigned ms = util_logbase2(mt->base.base.nr_samples); in nvc0_mt_choose_storage_type()
|
D | nvc0_state_validate.c | 271 const unsigned n = util_logbase2(mask) + 1; in nvc0_check_program_ucps()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_mesa_to_tgsi.c | 122 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()
|
D | st_glsl_to_tgsi.cpp | 3943 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/ |
D | u_math.h | 572 util_logbase2(unsigned n) in util_logbase2() function
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_debug.c | 402 unsigned sz2 = util_logbase2(sz); in lp_debug_draw_bins_by_cmd_length()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_screen.h | 805 …templat.last_level = MAX2(MAX2(util_logbase2(templat.width0), util_logbase2(templat.height0)), uti… in create_resource()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | evergreen_state.c | 1097 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()
|
D | r600_state.c | 1109 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/ |
D | nv50_ir_peephole.cpp | 686 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()
|
D | nv50_ir.cpp | 444 reg.data.u32 = util_logbase2(reg.data.u32); in applyLog2()
|
/external/mesa3d/src/gallium/drivers/nvc0/codegen/ |
D | nv50_ir_emit_nvc0.cpp | 818 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/ |
D | lp_bld_sample.c | 1276 unsigned logbase2 = util_logbase2(block_length); in lp_build_sample_partial_offset()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 2475 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()
|