Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c112 static unsigned minify_as_blocks(unsigned width, unsigned level, unsigned blk_w) in minify_as_blocks() argument
115 return DIV_ROUND_UP(width, blk_w); in minify_as_blocks()
169 dst_level, rdst->surface.blk_w); in cik_sdma_copy_texture()
171 src_level, rsrc->surface.blk_w); in cik_sdma_copy_texture()
176 unsigned srcx = src_box->x / rsrc->surface.blk_w; in cik_sdma_copy_texture()
179 unsigned copy_width = DIV_ROUND_UP(src_box->width, rsrc->surface.blk_w); in cik_sdma_copy_texture()
196 dstx /= rdst->surface.blk_w; in cik_sdma_copy_texture()
Dsi_state.c3728 rtex->surface.blk_w, false, desc); in si_query_opaque_metadata()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c106 surf_drm->blk_w = util_format_get_blockwidth(tex->format); in surf_winsys_to_drm()
186 surf_ws->blk_w = surf_drm->blk_w; in surf_drm_to_winsys()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c67 surface->blk_w = vk_format_get_blockwidth(pCreateInfo->format); in radv_init_surface()
413 image->surface.blk_w, false, desc); in radv_query_opaque_metadata()
761 uint32_t blk_w; in radv_image_view_init() local
799 assert(image->surface.blk_w % vk_format_get_blockwidth(image->vk_format) == 0); in radv_image_view_init()
800blk_w = image->surface.blk_w / vk_format_get_blockwidth(image->vk_format) * vk_format_get_blockwid… in radv_image_view_init()
820 blk_w, is_stencil, iview->descriptor); in radv_image_view_init()
Dradv_radeon_winsys.h179 uint32_t blk_w; member
/external/libdrm/radeon/
Dradeon_surface.c179 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in surf_minify()
588 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in eg_surf_minify()
1439 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
1443 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
1489 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()
1493 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()
2482 if (!surf->blk_w || !surf->blk_h || !surf->blk_d) { in radeon_surface_sanity()
Dradeon_surface.h114 uint32_t blk_w; member
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c62 if (!surf->blk_w || !surf->blk_h || !surf->blk_d) in radv_amdgpu_surface_sanity()
193 AddrSurfInfoIn->basePitch *= surf->blk_w; in radv_compute_level()
317 compressed = surf->blk_w == 4 && surf->blk_h == 4; in radv_amdgpu_winsys_surface_init()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c181 AddrSurfInfoIn->basePitch *= surf->blk_w; in compute_level()
331 surf->blk_w = util_format_get_blockwidth(tex->format); in amdgpu_surface_init()
336 compressed = surf->blk_w == 4 && surf->blk_h == 4; in amdgpu_surface_init()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_winsys.h299 unsigned blk_w:4; member
Dr600_texture.c187 box->x / rtex->surface.blk_w) * rtex->surface.bpe; in r600_texture_get_offset()
905 rtex->resource.b.b.depth0, rtex->surface.blk_w, in r600_print_texture_info()