Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/common/
Dac_surface.c580 struct legacy_surf_dcc_level *dcc_level; in gfx6_compute_level() local
634 dcc_level = &surf->u.legacy.color.dcc_level[level]; in gfx6_compute_level()
677 dcc_level->dcc_offset = 0; in gfx6_compute_level()
692 dcc_level->dcc_offset = surf->meta_size; in gfx6_compute_level()
694 surf->meta_size = dcc_level->dcc_offset + AddrDccOut->dccRamSize; in gfx6_compute_level()
710 dcc_level->dcc_fast_clear_size = AddrDccOut->dccFastClearSize; in gfx6_compute_level()
712 dcc_level->dcc_fast_clear_size = 0; in gfx6_compute_level()
738 dcc_level->dcc_slice_fast_clear_size = AddrDccOut->dccFastClearSize; in gfx6_compute_level()
740 dcc_level->dcc_slice_fast_clear_size = 0; in gfx6_compute_level()
744 surf->meta_slice_size != dcc_level->dcc_slice_fast_clear_size) { in gfx6_compute_level()
[all …]
Dac_surface.h137 struct legacy_surf_dcc_level dcc_level[RADEON_SURF_MAX_LEVELS]; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c1484 const struct legacy_surf_dcc_level *dcc_level = in radv_clear_dcc() local
1485 &image->planes[0].surface.u.legacy.color.dcc_level[level]; in radv_clear_dcc()
1494 dcc_level->dcc_offset + dcc_level->dcc_slice_fast_clear_size * range->baseArrayLayer; in radv_clear_dcc()
1495 size = dcc_level->dcc_slice_fast_clear_size * radv_get_layerCount(image, range); in radv_clear_dcc()
1834 struct legacy_surf_dcc_level *dcc_level = in radv_can_fast_clear_color() local
1835 &iview->image->planes[0].surface.u.legacy.color.dcc_level[level]; in radv_can_fast_clear_color()
1840 if (!dcc_level->dcc_fast_clear_size) in radv_can_fast_clear_color()
Dradv_cmd_buffer.c7427 … struct legacy_surf_dcc_level *dcc_level = &image->planes[0].surface.u.legacy.color.dcc_level[i]; in radv_init_dcc() local
7429 dcc_level->dcc_slice_fast_clear_size * image->info.array_size; in radv_init_dcc()
7434 size = dcc_level->dcc_offset + dcc_fast_clear_size; in radv_init_dcc()
Dradv_image.c751 meta_va += plane->surface.u.legacy.color.dcc_level[base_level].dcc_offset; in si_set_mutable_tex_desc_fields()
Dradv_device.c6676 va += plane->surface.u.legacy.color.dcc_level[iview->base_mip].dcc_offset; in radv_initialise_color_surface()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c344 if (!tex->surface.u.legacy.color.dcc_level[level].dcc_fast_clear_size) in vi_dcc_get_clear_info()
354 dcc_offset += tex->surface.u.legacy.color.dcc_level[level].dcc_offset; in vi_dcc_get_clear_info()
355 clear_size = tex->surface.u.legacy.color.dcc_level[level].dcc_fast_clear_size * num_layers; in vi_dcc_get_clear_info()
Dsi_texture.c832 … i, i < tex->surface.num_meta_levels, tex->surface.u.legacy.color.dcc_level[i].dcc_offset, in si_print_texture_info()
833 tex->surface.u.legacy.color.dcc_level[i].dcc_fast_clear_size); in si_print_texture_info()
1066 if (!tex->surface.u.legacy.color.dcc_level[i].dcc_fast_clear_size) in si_texture_create_object()
1069 size = tex->surface.u.legacy.color.dcc_level[i].dcc_offset + in si_texture_create_object()
1070 tex->surface.u.legacy.color.dcc_level[i].dcc_fast_clear_size; in si_texture_create_object()
Dsi_descriptors.c326 meta_va += tex->surface.u.legacy.color.dcc_level[base_level].dcc_offset; in si_set_mutable_tex_desc_fields()
Dsi_state.c3219 … cb_dcc_base += tex->surface.u.legacy.color.dcc_level[cb->base.u.tex.level].dcc_offset >> 8; in si_emit_framebuffer_state()