Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c6293 const struct legacy_surf_level *level_info = &surf->u.legacy.level[iview->vk.base_mip_level]; in radv_initialise_color_surface() local
6296 cb->cb_color_base += level_info->offset_256B; in radv_initialise_color_surface()
6297 if (level_info->mode == RADEON_SURF_MODE_2D) in radv_initialise_color_surface()
6300 pitch_tile_max = level_info->nblk_x / 8 - 1; in radv_initialise_color_surface()
6301 slice_tile_max = (level_info->nblk_x * level_info->nblk_y) / 64 - 1; in radv_initialise_color_surface()
6657 const struct legacy_surf_level *level_info = &surf->u.legacy.level[level]; in radv_initialise_ds_surface() local
6660 level_info = &surf->u.legacy.zs.stencil_level[level]; in radv_initialise_ds_surface()
6701 ds->db_depth_size = S_028058_PITCH_TILE_MAX((level_info->nblk_x / 8) - 1) | in radv_initialise_ds_surface()
6702 S_028058_HEIGHT_TILE_MAX((level_info->nblk_y / 8) - 1); in radv_initialise_ds_surface()
6704 S_02805C_SLICE_TILE_MAX((level_info->nblk_x * level_info->nblk_y) / 64 - 1); in radv_initialise_ds_surface()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c3397 const struct legacy_surf_level *level_info = in si_emit_framebuffer_state() local
3402 cb_color_base += level_info->offset_256B; in si_emit_framebuffer_state()
3404 if (level_info->mode == RADEON_SURF_MODE_2D) in si_emit_framebuffer_state()
3414 pitch_tile_max = level_info->nblk_x / 8 - 1; in si_emit_framebuffer_state()
3415 slice_tile_max = level_info->nblk_x * level_info->nblk_y / 64 - 1; in si_emit_framebuffer_state()