Home
last modified time | relevance | path

Searched refs:layout_3d (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c239 mt->layout_3d = pt->target == PIPE_TEXTURE_3D; in nvc0_miptree_init_layout_video()
243 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1); in nvc0_miptree_init_layout_video()
258 mt->layout_3d = pt->target == PIPE_TEXTURE_3D; in nvc0_miptree_init_layout_tiled()
266 d = mt->layout_3d ? pt->depth0 : 1; in nvc0_miptree_init_layout_tiled()
270 (!pt->last_level && !mt->layout_3d)); in nvc0_miptree_init_layout_tiled()
290 lvl->tile_mode = nvc0_tex_choose_tile_dims(nbx, nby, d, mt->layout_3d); in nvc0_miptree_init_layout_tiled()
323 if (mt->layout_3d) in nvc0_miptree_get_modifier()
Dnvc0_surface.c109 if (!mt->layout_3d) { in nvc0_2d_texture_set()
251 if (dst_mt->layout_3d) in nvc0_resource_copy_region()
256 if (src_mt->layout_3d) in nvc0_resource_copy_region()
327 PUSH_DATA(push, (mt->layout_3d << 16) | in nvc0_clear_render_target()
1245 if (nv50_miptree(src)->layout_3d) in nvc0_blit_3d()
1257 if (nv50_miptree(src)->layout_3d) { in nvc0_blit_3d()
1558 if (dst->layout_3d) { in nvc0_blit_eng2d()
1570 if (src->layout_3d) { in nvc0_blit_eng2d()
1634 if (nv50_miptree(info->src.resource)->layout_3d) { in nvc0_blit()
Dnvc0_transfer.c425 if (!mt->layout_3d) in nvc0_miptree_transfer_map()
462 if (mt->layout_3d) in nvc0_miptree_transfer_map()
515 if (mt->layout_3d) in nvc0_miptree_transfer_unmap()
Dnvc0_tex.c1054 if (!mt->layout_3d) { in nve4_set_surface_info()
1073 info[7] = mt->layout_3d ? 1 : 0; in nve4_set_surface_info()
1113 unsigned z = mt->layout_3d ? view->u.tex.first_layer : 0; in nvc0_set_surface_info()
1180 if (mt->layout_3d) { in nvc0_validate_suf()
Dnvc0_state_validate.c235 PUSH_DATA(push, (mt->layout_3d << 16) | in nvc0_validate_fb()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c270 mt->layout_3d = pt->target == PIPE_TEXTURE_3D; in nv50_miptree_init_layout_video()
274 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1); in nv50_miptree_init_layout_video()
289 mt->layout_3d = pt->target == PIPE_TEXTURE_3D; in nv50_miptree_init_layout_tiled()
297 d = mt->layout_3d ? pt->depth0 : 1; in nv50_miptree_init_layout_tiled()
307 lvl->tile_mode = nv50_tex_choose_tile_dims(nbx, nby, d, mt->layout_3d); in nv50_miptree_init_layout_tiled()
518 if (mt->layout_3d) { in nv50_miptree_surface_new()
Dnv50_resource.h53 bool layout_3d; /* true if layer count varies with mip level */ member
Dnv50_surface.c104 if (!mt->layout_3d) { in nv50_2d_texture_set()
240 if (dst_mt->layout_3d) in nv50_resource_copy_region()
245 if (src_mt->layout_3d) in nv50_resource_copy_region()
326 if (mt->layout_3d) in nv50_clear_render_target()
1426 if (nv50_miptree(src)->layout_3d) in nv50_blit_3d()
1438 if (nv50_miptree(src)->layout_3d) { in nv50_blit_3d()
1648 if (dst->layout_3d) { in nv50_blit_eng2d()
1660 if (src->layout_3d) { in nv50_blit_eng2d()
1729 if (nv50_miptree(info->src.resource)->layout_3d) { in nv50_blit()
Dnv50_compute.c359 if (mt->layout_3d) { in nv50_set_surface_info()
431 if (mt->layout_3d) { in nv50_compute_validate_surfaces()
442 if (mt->layout_3d) { in nv50_compute_validate_surfaces()
Dnv50_transfer.c44 if (mt->layout_3d) { in nv50_m2mf_rect_setup()
436 if (mt->layout_3d) in nv50_miptree_transfer_map()
481 if (mt->layout_3d) in nv50_miptree_transfer_unmap()
Dnv50_state_validate.c51 if (mt->layout_3d) in nv50_validate_fb()
55 assert(mt->layout_3d || !array_mode || array_size == 1); in nv50_validate_fb()