Home
last modified time | relevance | path

Searched refs:ms_x (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c101 rect->w = u_minify(pt->width0, level) << mt->ms_x; in define_rect()
122 rect->x0 = util_format_get_nblocksx(pt->format, x) << mt->ms_x; in define_rect()
124 rect->x1 = rect->x0 + (util_format_get_nblocksx(pt->format, w) << mt->ms_x); in define_rect()
208 (x >> src_mt->ms_x) * dst.cpp; in nv30_resource_resolve()
209 dst.x1 = dst.x0 + (w >> src_mt->ms_x); in nv30_resource_resolve()
210 dst.w = w >> src_mt->ms_x; in nv30_resource_resolve()
419 mt->ms_x = 1; in nv30_miptree_create()
424 mt->ms_x = 1; in nv30_miptree_create()
429 mt->ms_x = 0; in nv30_miptree_create()
438 w = pt->width0 << mt->ms_x; in nv30_miptree_create()
Dnv30_resource.h37 unsigned ms_x:1; member
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c211 mt->ms_x = 2; in nv50_miptree_init_ms_mode()
216 mt->ms_x = 1; in nv50_miptree_init_ms_mode()
221 mt->ms_x = 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()
291 w = pt->width0 << mt->ms_x; in nv50_miptree_init_layout_tiled()
497 ns->width <<= mt->ms_x; in nv50_surface_from_miptree()
Dnv50_surface.c99 width = u_minify(mt->base.base.width0, level) << mt->ms_x; in nv50_2d_texture_set()
177 PUSH_DATA (push, dx << dst->ms_x); in nv50_2d_texture_do_copy()
179 PUSH_DATA (push, w << dst->ms_x); in nv50_2d_texture_do_copy()
188 PUSH_DATA (push, sx << src->ms_x); in nv50_2d_texture_do_copy()
229 << src_mt->ms_x; in nv50_resource_copy_region()
1418 x0 *= (float)(1 << nv50_miptree(src)->ms_x); in nv50_blit_3d()
1419 x1 *= (float)(1 << nv50_miptree(src)->ms_x); in nv50_blit_3d()
1432 const float fh = u_minify(src->width0 << nv50_miptree(src)->ms_x, l); in nv50_blit_3d()
1554 PUSH_DATA (push, info->scissor.minx << dst->ms_x); in nv50_blit_eng2d()
1556 PUSH_DATA (push, (info->scissor.maxx - info->scissor.minx) << dst->ms_x); in nv50_blit_eng2d()
[all …]
Dnv50_tex.c164 if (mt->ms_x) in nv50_create_texture_view()
199 tic[4] = (1 << 31) | (mt->base.base.width0 << mt->ms_x); in nv50_create_texture_view()
208 tic[6] = (mt->ms_x > 1) ? 0x88000000 : 0x03000000; /* sampling points */ in nv50_create_texture_view()
346 PUSH_DATA (push, res->ms_x); in nv50_validate_tic()
Dnv50_resource.h54 uint8_t ms_x; /* log2 of number of samples in x/y dimension */ member
Dnv50_transfer.c31 rect->width = w << mt->ms_x; in nv50_m2mf_rect_setup()
33 rect->x = x << mt->ms_x; in nv50_m2mf_rect_setup()
400 tx->nblocksx = box->width << mt->ms_x; in nv50_miptree_transfer_map()
Dnv50_compute.c365 info[6] = mt->ms_x; in nv50_set_surface_info()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c103 width = u_minify(mt->base.base.width0, level) << mt->ms_x; in nvc0_2d_texture_set()
186 PUSH_DATA (push, dx << dst->ms_x); in nvc0_2d_texture_do_copy()
188 PUSH_DATA (push, w << dst->ms_x); in nvc0_2d_texture_do_copy()
197 PUSH_DATA (push, sx << src->ms_x); in nvc0_2d_texture_do_copy()
240 << src_mt->ms_x; in nvc0_resource_copy_region()
1238 x0 *= (float)(1 << nv50_miptree(src)->ms_x); in nvc0_blit_3d()
1239 x1 *= (float)(1 << nv50_miptree(src)->ms_x); in nvc0_blit_3d()
1251 const float fh = u_minify(src->width0 << nv50_miptree(src)->ms_x, l); in nvc0_blit_3d()
1461 PUSH_DATA (push, info->scissor.minx << dst->ms_x); in nvc0_blit_eng2d()
1463 PUSH_DATA (push, (info->scissor.maxx - info->scissor.minx) << dst->ms_x); in nvc0_blit_eng2d()
[all …]
Dnvc0_miptree.c206 mt->ms_x = 2; in nvc0_miptree_init_ms_mode()
211 mt->ms_x = 1; in nvc0_miptree_init_ms_mode()
216 mt->ms_x = 1; in nvc0_miptree_init_ms_mode()
236 assert(mt->ms_x == 0 && mt->ms_y == 0); in nvc0_miptree_init_layout_video()
260 w = pt->width0 << mt->ms_x; in nvc0_miptree_init_layout_tiled()
Dnvc0_tex.c211 width = mt->base.base.width0 << mt->ms_x; in gm107_create_texture_view()
225 if ((flags & NV50_TEXVIEW_ACCESS_RESOLVE) && mt->ms_x > 1) { in gm107_create_texture_view()
416 width = mt->base.base.width0 << mt->ms_x; in gf100_create_texture_view()
431 tic[6] = (mt->ms_x > 1) ? 0x88000000 : 0x03000000; in gf100_create_texture_view()
1062 info[2] = (width << mt->ms_x) - 1; in nve4_set_surface_info()
1075 info[14] = mt->ms_x; in nve4_set_surface_info()
1126 info[14] = mt->ms_x; in nvc0_set_surface_info()
1201 PUSH_DATA (push, adjusted_width << mt->ms_x); in nvc0_validate_suf()
Dnvc0_transfer.c412 tx->nblocksx = box->width << mt->ms_x; in nvc0_miptree_transfer_map()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_lowering_nv50.cpp679 void loadTexMsInfo(uint32_t off, Value **ms, Value **ms_x, Value **ms_y);
717 Value **ms_x, Value **ms_y) { in loadTexMsInfo() argument
728 *ms_x = 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()
813 bld.mkOp2(OP_SHL, TYPE_U32, tx, x, ms_x); 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()
1095 bld.mkOp2(OP_SHR, TYPE_U32, i->getDef(d), i->getDef(d), ms_x); in handleTXQ()
[all …]
Dnv50_ir_lowering_nvc0.cpp1941 Value *ms_x = loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(0), suq->tex.bindless); in handleSUQ() local
1943 Value *ms = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), ms_x, ms_y); in handleSUQ()
1975 Value *ms_x = loadMsAdjInfo32(tex->tex.target, 0, slot, ind, tex->tex.bindless); in adjustCoordinatesMS() local
1978 bld.mkOp2(OP_SHL, TYPE_U32, tx, x, ms_x); in adjustCoordinatesMS()