/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 103 rect->h = u_minify(pt->height0, level) << mt->ms_y; in define_rect() 123 rect->y0 = util_format_get_nblocksy(pt->format, y) << mt->ms_y; in define_rect() 125 rect->y1 = rect->y0 + (util_format_get_nblocksy(pt->format, h) << mt->ms_y); in define_rect() 194 dst.y1 = dst.y0 + (h >> src_mt->ms_y); in nv30_resource_resolve() 195 dst.h = h >> src_mt->ms_y; in nv30_resource_resolve() 207 dst.offset = (y >> src_mt->ms_y) * dst.pitch + in nv30_resource_resolve() 420 mt->ms_y = 1; in nv30_miptree_create() 425 mt->ms_y = 0; in nv30_miptree_create() 430 mt->ms_y = 0; in nv30_miptree_create() 439 h = pt->height0 << mt->ms_y; in nv30_miptree_create()
|
D | nv30_resource.h | 38 unsigned ms_y:1; member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_miptree.c | 212 mt->ms_y = 1; in nv50_miptree_init_ms_mode() 217 mt->ms_y = 1; in nv50_miptree_init_ms_mode() 246 if (mt->ms_x | mt->ms_y) in nv50_miptree_init_layout_linear() 267 assert(mt->ms_x == 0 && mt->ms_y == 0); in nv50_miptree_init_layout_video() 292 h = pt->height0 << mt->ms_y; in nv50_miptree_init_layout_tiled() 498 ns->height <<= mt->ms_y; in nv50_surface_from_miptree()
|
D | nv50_surface.c | 100 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() 1420 y0 *= (float)(1 << nv50_miptree(src)->ms_y); in nv50_blit_3d() 1421 y1 *= (float)(1 << nv50_miptree(src)->ms_y); in nv50_blit_3d() 1433 const float fv = u_minify(src->height0 << nv50_miptree(src)->ms_y, l); in nv50_blit_3d() 1555 PUSH_DATA (push, info->scissor.miny << dst->ms_y); in nv50_blit_eng2d() 1557 PUSH_DATA (push, (info->scissor.maxy - info->scissor.miny) << dst->ms_y); in nv50_blit_eng2d() [all …]
|
D | nv50_resource.h | 55 uint8_t ms_y; member
|
D | nv50_transfer.c | 32 rect->height = h << mt->ms_y; in nv50_m2mf_rect_setup() 34 rect->y = y << mt->ms_y; in nv50_m2mf_rect_setup() 401 tx->nblocksy = box->height << mt->ms_y; in nv50_miptree_transfer_map()
|
D | nv50_tex.c | 201 tic[5] = (mt->base.base.height0 << mt->ms_y) & 0xffff; in nv50_create_texture_view() 347 PUSH_DATA (push, res->ms_y); in nv50_validate_tic()
|
D | nv50_compute.c | 366 info[7] = mt->ms_y; in nv50_set_surface_info()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_surface.c | 104 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() 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() 1462 PUSH_DATA (push, info->scissor.miny << dst->ms_y); in nvc0_blit_eng2d() 1464 PUSH_DATA (push, (info->scissor.maxy - info->scissor.miny) << dst->ms_y); in nvc0_blit_eng2d() [all …]
|
D | nvc0_miptree.c | 207 mt->ms_y = 1; in nvc0_miptree_init_ms_mode() 212 mt->ms_y = 1; in nvc0_miptree_init_ms_mode() 236 assert(mt->ms_x == 0 && mt->ms_y == 0); in nvc0_miptree_init_layout_video() 261 h = pt->height0 << mt->ms_y; in nvc0_miptree_init_layout_tiled()
|
D | nvc0_tex.c | 212 height = mt->base.base.height0 << mt->ms_y; in gm107_create_texture_view() 417 height = mt->base.base.height0 << mt->ms_y; in gf100_create_texture_view() 1066 info[4] = (height << mt->ms_y) - 1; in nve4_set_surface_info() 1076 info[15] = mt->ms_y; in nve4_set_surface_info() 1127 info[15] = mt->ms_y; in nvc0_set_surface_info() 1202 PUSH_DATA (push, adjusted_height << mt->ms_y); in nvc0_validate_suf()
|
D | nvc0_transfer.c | 413 tx->nblocksy = box->height << mt->ms_y; in nvc0_miptree_transfer_map()
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_lowering_nv50.cpp | 679 void loadTexMsInfo(uint32_t off, Value **ms, Value **ms_x, Value **ms_y); 717 Value **ms_x, Value **ms_y) { in loadTexMsInfo() argument 730 *ms_y = bld.mkLoadv(TYPE_U32, bld.mkSymbol( in loadTexMsInfo() 732 *ms = bld.mkOp2v(OP_ADD, TYPE_U32, tmp, *ms_x, *ms_y); in loadTexMsInfo() 806 *ms, *ms_x, *ms_y, *dx, *dy; in handleTEX() local 810 loadTexMsInfo(i->tex.r * 4 * 2, &ms, &ms_x, &ms_y); in handleTEX() 814 bld.mkOp2(OP_SHL, TYPE_U32, ty, y, ms_y); in handleTEX() 1088 Value *ms, *ms_x, *ms_y; in handleTXQ() local 1092 loadTexMsInfo(i->tex.r * 4 * 2, &ms, &ms_x, &ms_y); in handleTXQ() 1099 bld.mkOp2(OP_SHR, TYPE_U32, i->getDef(d), i->getDef(d), ms_y); in handleTXQ() [all …]
|
D | nv50_ir_lowering_nvc0.cpp | 1942 Value *ms_y = loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(1), suq->tex.bindless); in handleSUQ() local 1943 Value *ms = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), ms_x, ms_y); in handleSUQ() 1976 Value *ms_y = loadMsAdjInfo32(tex->tex.target, 1, slot, ind, tex->tex.bindless); in adjustCoordinatesMS() local 1979 bld.mkOp2(OP_SHL, TYPE_U32, ty, y, ms_y); in adjustCoordinatesMS()
|