Searched refs:log2i (Results 1 – 8 of 8) sorted by relevance
95 filter |= log2i(sa->MaxAnisotropy) << 31 | in nv04_emit_tex_obj()97 log2i(sa->MaxAnisotropy) << 27 | in nv04_emit_tex_obj()
233 log2i(dst->width) << 16 | in nv04_surface_copy_swizzle()234 log2i(dst->height) << 24); in nv04_surface_copy_swizzle()324 unsigned k = log2i(MIN2(s->width, s->height)); in get_swizzled_offset()
106 log2i(unsigned i) in log2i() function
194 | log2i(sa->MaxAnisotropy) << 4; in nv10_emit_tex_obj()
240 | log2i(sa->MaxAnisotropy) << 4; in nv20_emit_tex_obj()
191 uint32_t layer = sw::log2i(layerMask); in clearWithLayerMask()259 int layer = sw::log2i(layerMask); in resolveWithLayerMask()
498 int viewID = sw::log2i(viewMask); in draw()
136 inline unsigned long log2i(int x) in log2i() function