Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_surface.c259 struct legacy_surf_level *surf_level; in gfx6_compute_level() local
305 surf_level = is_stencil ? &surf->u.legacy.stencil_level[level] : &surf->u.legacy.level[level]; in gfx6_compute_level()
306 surf_level->offset = align64(surf->surf_size, AddrSurfInfoOut->baseAlign); in gfx6_compute_level()
307 surf_level->slice_size_dw = AddrSurfInfoOut->sliceSize / 4; in gfx6_compute_level()
308 surf_level->nblk_x = AddrSurfInfoOut->pitch; in gfx6_compute_level()
309 surf_level->nblk_y = AddrSurfInfoOut->height; in gfx6_compute_level()
313 surf_level->mode = RADEON_SURF_MODE_LINEAR_ALIGNED; in gfx6_compute_level()
316 surf_level->mode = RADEON_SURF_MODE_1D; in gfx6_compute_level()
319 surf_level->mode = RADEON_SURF_MODE_2D; in gfx6_compute_level()
330 surf->surf_size = surf_level->offset + AddrSurfInfoOut->surfSize; in gfx6_compute_level()
[all …]