/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_miptree.c | 215 mt->ms_x = 2; in nv50_miptree_init_ms_mode() 220 mt->ms_x = 1; in nv50_miptree_init_ms_mode() 225 mt->ms_x = 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() 295 w = pt->width0 << mt->ms_x; in nv50_miptree_init_layout_tiled() 495 ns->width <<= mt->ms_x; in nv50_surface_from_miptree()
|
D | nv50_surface.c | 99 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() 1385 x0 *= (float)(1 << nv50_miptree(src)->ms_x); in nv50_blit_3d() 1386 x1 *= (float)(1 << nv50_miptree(src)->ms_x); in nv50_blit_3d() 1399 const float fh = u_minify(src->width0 << nv50_miptree(src)->ms_x, l); in nv50_blit_3d() 1515 PUSH_DATA (push, info->scissor.minx << dst->ms_x); in nv50_blit_eng2d() 1517 PUSH_DATA (push, (info->scissor.maxx - info->scissor.minx) << dst->ms_x); in nv50_blit_eng2d() [all …]
|
D | nv50_tex.c | 197 tic[4] = (1 << 31) | (mt->base.base.width0 << mt->ms_x); in nv50_create_texture_view() 206 tic[6] = (mt->ms_x > 1) ? 0x88000000 : 0x03000000; /* sampling points */ in nv50_create_texture_view() 324 PUSH_DATA (push, res->ms_x); in nv50_validate_tic()
|
D | nv50_resource.h | 54 uint8_t ms_x; /* log2 of number of samples in x/y dimension */ member
|
D | nv50_transfer.c | 31 rect->width = w << mt->ms_x; in nv50_m2mf_rect_setup() 33 rect->x = x << mt->ms_x; in nv50_m2mf_rect_setup() 275 tx->nblocksx = box->width << mt->ms_x; in nv50_miptree_transfer_map()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 96 rect->w = u_minify(pt->width0, level) << mt->ms_x; in define_rect() 117 rect->x0 = util_format_get_nblocksx(pt->format, x) << mt->ms_x; in define_rect() 119 rect->x1 = rect->x0 + (util_format_get_nblocksx(pt->format, w) << mt->ms_x); in define_rect() 203 (x >> src_mt->ms_x) * dst.cpp; in nv30_resource_resolve() 204 dst.x1 = dst.x0 + (w >> src_mt->ms_x); in nv30_resource_resolve() 205 dst.w = w >> src_mt->ms_x; in nv30_resource_resolve() 422 mt->ms_x = 1; in nv30_miptree_create() 427 mt->ms_x = 1; in nv30_miptree_create() 432 mt->ms_x = 0; in nv30_miptree_create() 442 w = pt->width0 << mt->ms_x; in nv30_miptree_create()
|
D | nv30_resource.h | 37 unsigned ms_x:1; member
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_miptree.c | 194 mt->ms_x = 2; in nvc0_miptree_init_ms_mode() 199 mt->ms_x = 1; in nvc0_miptree_init_ms_mode() 204 mt->ms_x = 1; in nvc0_miptree_init_ms_mode() 224 assert(mt->ms_x == 0 && mt->ms_y == 0); in nvc0_miptree_init_layout_video() 248 w = pt->width0 << mt->ms_x; in nvc0_miptree_init_layout_tiled()
|
D | nvc0_surface.c | 103 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() 1217 x0 *= (float)(1 << nv50_miptree(src)->ms_x); in nvc0_blit_3d() 1218 x1 *= (float)(1 << nv50_miptree(src)->ms_x); in nvc0_blit_3d() 1230 const float fh = u_minify(src->width0 << nv50_miptree(src)->ms_x, l); in nvc0_blit_3d() 1425 PUSH_DATA (push, info->scissor.minx << dst->ms_x); in nvc0_blit_eng2d() 1427 PUSH_DATA (push, (info->scissor.maxx - info->scissor.minx) << dst->ms_x); in nvc0_blit_eng2d() [all …]
|
D | nvc0_tex.c | 212 width = mt->base.base.width0 << mt->ms_x; in gm107_create_texture_view() 226 if ((flags & NV50_TEXVIEW_ACCESS_RESOLVE) && mt->ms_x > 1) { in gm107_create_texture_view() 417 width = mt->base.base.width0 << mt->ms_x; in gf100_create_texture_view() 432 tic[6] = (mt->ms_x > 1) ? 0x88000000 : 0x03000000; in gf100_create_texture_view() 1064 info[2] = (width << mt->ms_x) - 1; in nve4_set_surface_info() 1077 info[14] = mt->ms_x; in nve4_set_surface_info() 1120 info[14] = mt->ms_x; in nvc0_set_surface_info() 1188 PUSH_DATA (push, width << mt->ms_x); in nvc0_validate_suf()
|
D | nvc0_transfer.c | 412 tx->nblocksx = box->width << mt->ms_x; in nvc0_miptree_transfer_map()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_nv50.cpp | 647 void loadTexMsInfo(uint32_t off, Value **ms, Value **ms_x, Value **ms_y); 683 Value **ms_x, Value **ms_y) { in loadTexMsInfo() argument 692 *ms_x = 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() 759 bld.mkOp2(OP_SHL, TYPE_U32, tx, x, ms_x); 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()
|
D | nv50_ir_lowering_nvc0.cpp | 1930 Value *ms_x = loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(0), suq->tex.bindless); in handleSUQ() local 1932 Value *ms = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), ms_x, ms_y); in handleSUQ() 1964 Value *ms_x = loadMsAdjInfo32(tex->tex.target, 0, slot, ind, tex->tex.bindless); in adjustCoordinatesMS() local 1967 bld.mkOp2(OP_SHL, TYPE_U32, tx, x, ms_x); in adjustCoordinatesMS()
|