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 + (h << mt->ms_y); in define_rect()
175 dst.y1 = dst.y0 + (h >> src_mt->ms_y); in nv30_resource_resolve()
176 dst.h = h >> src_mt->ms_y; in nv30_resource_resolve()
188 dst.offset = (y >> src_mt->ms_y) * dst.pitch + in nv30_resource_resolve()
378 mt->ms_y = 1; in nv30_miptree_create()
383 mt->ms_y = 0; in nv30_miptree_create()
388 mt->ms_y = 0; in nv30_miptree_create()
398 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()
1374 tri_y = 16384 << nv50_miptree(dst)->ms_y; in nv50_blit_3d()
1384 y0 *= (float)(1 << nv50_miptree(src)->ms_y); in nv50_blit_3d()
1385 y1 *= (float)(1 << nv50_miptree(src)->ms_y); in nv50_blit_3d()
1397 const float fv = u_minify(src->height0 << nv50_miptree(src)->ms_y, l); in nv50_blit_3d()
1513 PUSH_DATA (push, info->scissor.miny << dst->ms_y); in nv50_blit_eng2d()
[all …]
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_resource.h55 uint8_t ms_y; member
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_miptree.c143 mt->ms_y = 1; in nvc0_miptree_init_ms_mode()
148 mt->ms_y = 1; in nvc0_miptree_init_ms_mode()
172 assert(mt->ms_x == 0 && mt->ms_y == 0); in nvc0_miptree_init_layout_video()
197 h = pt->height0 << mt->ms_y; in nvc0_miptree_init_layout_tiled()
Dnvc0_surface.c102 height = u_minify(mt->base.base.height0, level) << mt->ms_y; in nvc0_2d_texture_set()
180 PUSH_DATA (push, dy << dst->ms_y); in nvc0_2d_texture_do_copy()
182 PUSH_DATA (push, h << dst->ms_y); in nvc0_2d_texture_do_copy()
192 PUSH_DATA (push, sy << src->ms_y); in nvc0_2d_texture_do_copy()
235 << src_mt->ms_y; in nvc0_resource_copy_region()
1240 y0 *= (float)(1 << nv50_miptree(src)->ms_y); in nvc0_blit_3d()
1241 y1 *= (float)(1 << nv50_miptree(src)->ms_y); in nvc0_blit_3d()
1252 const float fv = u_minify(src->height0 << nv50_miptree(src)->ms_y, l); in nvc0_blit_3d()
1367 *(vbuf++) = fui(32768 << nv50_miptree(dst)->ms_y); in nvc0_blit_3d()
1423 PUSH_DATA (push, info->scissor.miny << dst->ms_y); in nvc0_blit_eng2d()
[all …]
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()
1051 info[4] = (height << mt->ms_y) - 1; in nve4_set_surface_info()
1060 info[15] = mt->ms_y; in nve4_set_surface_info()
1103 info[15] = mt->ms_y; in nvc0_set_surface_info()
1171 PUSH_DATA (push, height << mt->ms_y); in nvc0_validate_suf()
Dnvc0_transfer.c410 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.cpp1816 Value *ms_y = loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(1), suq->tex.bindless); in handleSUQ() local
1817 Value *ms = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), ms_x, ms_y); in handleSUQ()
1850 Value *ms_y = loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(1), tex->tex.bindless); in adjustCoordinatesMS() local
1853 bld.mkOp2(OP_SHL, TYPE_U32, ty, y, ms_y); in adjustCoordinatesMS()