Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c2203 struct radeon_surf_level *levelinfo = &rtex->surface.level[level]; in si_init_depth_surface() local
2313 assert(levelinfo->nblk_x % 8 == 0 && levelinfo->nblk_y % 8 == 0); in si_init_depth_surface()
2323 surf->db_depth_size = S_028058_PITCH_TILE_MAX((levelinfo->nblk_x / 8) - 1) | in si_init_depth_surface()
2324 S_028058_HEIGHT_TILE_MAX((levelinfo->nblk_y / 8) - 1); in si_init_depth_surface()
2325 surf->db_depth_slice = S_02805C_SLICE_TILE_MAX((levelinfo->nblk_x * in si_init_depth_surface()
2326 levelinfo->nblk_y) / 64 - 1); in si_init_depth_surface()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c1170 struct radeon_surf_level *levelinfo = &rtex->surface.level[level]; in evergreen_init_depth_surface() local
1214 assert(levelinfo->nblk_x % 8 == 0 && levelinfo->nblk_y % 8 == 0); in evergreen_init_depth_surface()
1219 surf->db_depth_size = S_028058_PITCH_TILE_MAX(levelinfo->nblk_x / 8 - 1) | in evergreen_init_depth_surface()
1220 S_028058_HEIGHT_TILE_MAX(levelinfo->nblk_y / 8 - 1); in evergreen_init_depth_surface()
1221 surf->db_depth_slice = S_02805C_SLICE_TILE_MAX(levelinfo->nblk_x * in evergreen_init_depth_surface()
1222 levelinfo->nblk_y / 64 - 1); in evergreen_init_depth_surface()