Home
last modified time | relevance | path

Searched refs:ms_y (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c98 rect->h = u_minify(pt->height0, level) << mt->ms_y; in define_rect()
118 rect->y0 = util_format_get_nblocksy(pt->format, y) << mt->ms_y; in define_rect()
120 rect->y1 = rect->y0 + (util_format_get_nblocksy(pt->format, h) << mt->ms_y); in define_rect()
189 dst.y1 = dst.y0 + (h >> src_mt->ms_y); in nv30_resource_resolve()
190 dst.h = h >> src_mt->ms_y; in nv30_resource_resolve()
202 dst.offset = (y >> src_mt->ms_y) * dst.pitch + in nv30_resource_resolve()
423 mt->ms_y = 1; in nv30_miptree_create()
428 mt->ms_y = 0; in nv30_miptree_create()
433 mt->ms_y = 0; in nv30_miptree_create()
443 h = pt->height0 << mt->ms_y; in nv30_miptree_create()
Dnv30_resource.h38 unsigned ms_y:1; member
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c216 mt->ms_y = 1; in nv50_miptree_init_ms_mode()
221 mt->ms_y = 1; in nv50_miptree_init_ms_mode()
250 if (mt->ms_x | mt->ms_y) in nv50_miptree_init_layout_linear()
271 assert(mt->ms_x == 0 && mt->ms_y == 0); in nv50_miptree_init_layout_video()
296 h = pt->height0 << mt->ms_y; in nv50_miptree_init_layout_tiled()
496 ns->height <<= mt->ms_y; in nv50_surface_from_miptree()
Dnv50_surface.c100 height = u_minify(mt->base.base.height0, level) << mt->ms_y; in nv50_2d_texture_set()
178 PUSH_DATA (push, dy << dst->ms_y); in nv50_2d_texture_do_copy()
180 PUSH_DATA (push, h << dst->ms_y); in nv50_2d_texture_do_copy()
190 PUSH_DATA (push, sy << src->ms_y); in nv50_2d_texture_do_copy()
231 << src_mt->ms_y; in nv50_resource_copy_region()
1387 y0 *= (float)(1 << nv50_miptree(src)->ms_y); in nv50_blit_3d()
1388 y1 *= (float)(1 << nv50_miptree(src)->ms_y); in nv50_blit_3d()
1400 const float fv = u_minify(src->height0 << nv50_miptree(src)->ms_y, l); in nv50_blit_3d()
1516 PUSH_DATA (push, info->scissor.miny << dst->ms_y); in nv50_blit_eng2d()
1518 PUSH_DATA (push, (info->scissor.maxy - info->scissor.miny) << dst->ms_y); in nv50_blit_eng2d()
[all …]
Dnv50_resource.h55 uint8_t ms_y; member
Dnv50_transfer.c32 rect->height = h << mt->ms_y; in nv50_m2mf_rect_setup()
34 rect->y = y << mt->ms_y; in nv50_m2mf_rect_setup()
276 tx->nblocksy = box->height << mt->ms_y; in nv50_miptree_transfer_map()
Dnv50_tex.c199 tic[5] = (mt->base.base.height0 << mt->ms_y) & 0xffff; in nv50_create_texture_view()
325 PUSH_DATA (push, res->ms_y); in nv50_validate_tic()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c104 height = u_minify(mt->base.base.height0, level) << mt->ms_y; in nvc0_2d_texture_set()
187 PUSH_DATA (push, dy << dst->ms_y); in nvc0_2d_texture_do_copy()
189 PUSH_DATA (push, h << dst->ms_y); in nvc0_2d_texture_do_copy()
199 PUSH_DATA (push, sy << src->ms_y); in nvc0_2d_texture_do_copy()
242 << src_mt->ms_y; in nvc0_resource_copy_region()
1219 y0 *= (float)(1 << nv50_miptree(src)->ms_y); in nvc0_blit_3d()
1220 y1 *= (float)(1 << nv50_miptree(src)->ms_y); in nvc0_blit_3d()
1231 const float fv = u_minify(src->height0 << nv50_miptree(src)->ms_y, l); in nvc0_blit_3d()
1426 PUSH_DATA (push, info->scissor.miny << dst->ms_y); in nvc0_blit_eng2d()
1428 PUSH_DATA (push, (info->scissor.maxy - info->scissor.miny) << dst->ms_y); in nvc0_blit_eng2d()
[all …]
Dnvc0_miptree.c195 mt->ms_y = 1; in nvc0_miptree_init_ms_mode()
200 mt->ms_y = 1; in nvc0_miptree_init_ms_mode()
224 assert(mt->ms_x == 0 && mt->ms_y == 0); in nvc0_miptree_init_layout_video()
249 h = pt->height0 << mt->ms_y; in nvc0_miptree_init_layout_tiled()
Dnvc0_tex.c213 height = mt->base.base.height0 << mt->ms_y; in gm107_create_texture_view()
418 height = mt->base.base.height0 << mt->ms_y; in gf100_create_texture_view()
1068 info[4] = (height << mt->ms_y) - 1; in nve4_set_surface_info()
1078 info[15] = mt->ms_y; in nve4_set_surface_info()
1121 info[15] = mt->ms_y; in nvc0_set_surface_info()
1189 PUSH_DATA (push, height << mt->ms_y); in nvc0_validate_suf()
Dnvc0_transfer.c413 tx->nblocksy = box->height << mt->ms_y; in nvc0_miptree_transfer_map()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nv50.cpp647 void loadTexMsInfo(uint32_t off, Value **ms, Value **ms_x, Value **ms_y);
683 Value **ms_x, Value **ms_y) { in loadTexMsInfo() argument
694 *ms_y = bld.mkLoadv(TYPE_U32, bld.mkSymbol( in loadTexMsInfo()
696 *ms = bld.mkOp2v(OP_ADD, TYPE_U32, tmp, *ms_x, *ms_y); in loadTexMsInfo()
752 *ms, *ms_x, *ms_y, *dx, *dy; in handleTEX() local
756 loadTexMsInfo(i->tex.r * 4 * 2, &ms, &ms_x, &ms_y); in handleTEX()
760 bld.mkOp2(OP_SHL, TYPE_U32, ty, y, ms_y); in handleTEX()
1034 Value *ms, *ms_x, *ms_y; in handleTXQ() local
1040 loadTexMsInfo(i->tex.r * 4 * 2, &ms, &ms_x, &ms_y); in handleTXQ()
Dnv50_ir_lowering_nvc0.cpp1931 Value *ms_y = loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(1), suq->tex.bindless); in handleSUQ() local
1932 Value *ms = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), ms_x, ms_y); in handleSUQ()
1965 Value *ms_y = loadMsAdjInfo32(tex->tex.target, 1, slot, ind, tex->tex.bindless); in adjustCoordinatesMS() local
1968 bld.mkOp2(OP_SHL, TYPE_U32, ty, y, ms_y); in adjustCoordinatesMS()