/third_party/libdrm/radeon/ |
D | radeon_surface.c | 177 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in surf_minify() 586 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in eg_surf_minify() 1437 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify() 1441 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in si_surf_minify() 1487 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d() 1491 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d() 2479 if (!surf->blk_w || !surf->blk_h || !surf->blk_d) { in radeon_surface_sanity()
|
D | radeon_surface.h | 115 uint32_t blk_h; member
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_surface.c | 42 if (!surf->blk_w || !surf->blk_h) in radv_amdgpu_surface_sanity()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_surface.c | 104 surf_drm->blk_h = util_format_get_blockheight(tex->format); in surf_winsys_to_drm() 184 surf_ws->blk_h = surf_drm->blk_h; in surf_drm_to_winsys()
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_astc.cpp | 1818 unsigned blk_w, blk_h; in _mesa_unpack_astc_2d_ldr() local 1819 _mesa_get_format_block_size(format, &blk_w, &blk_h); in _mesa_unpack_astc_2d_ldr() 1823 unsigned y_blocks = (src_height + blk_h - 1) / blk_h; in _mesa_unpack_astc_2d_ldr() 1825 Decoder dec(blk_w, blk_h, 1, srgb, true); in _mesa_unpack_astc_2d_ldr() 1836 unsigned dst_blk_h = MIN2(blk_h, src_height - y*blk_h); in _mesa_unpack_astc_2d_ldr() 1852 dst_row += dst_stride * blk_h; in _mesa_unpack_astc_2d_ldr()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_surface.c | 77 surf->blk_h = util_format_get_blockheight(tex->format); in amdgpu_surface_init()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_sdma_copy_image.c | 121 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in si_sdma_v4_v5_copy_texture() 157 unsigned tiled_height = DIV_ROUND_UP(tiled->buffer.b.b.height0, tiled->surface.blk_h); in si_sdma_v4_v5_copy_texture() 250 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in cik_sdma_copy_texture()
|
D | si_texture.c | 153 (box->y / tex->surface.blk_h * pitch + box->x / tex->surface.blk_w) * in si_texture_get_offset() 167 (box->y / tex->surface.blk_h * tex->surface.u.legacy.level[level].nblk_x + in si_texture_get_offset()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_sdma_copy_image.c | 82 unsigned copy_height = DIV_ROUND_UP(image->info.height, image->planes[0].surface.blk_h); in radv_sdma_v4_v5_copy_image_to_buffer()
|
D | radv_image.c | 1624 image->planes[i].surface.blk_h = vk_format_get_blockheight(format); in radv_image_reset_layout()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface.h | 310 uint8_t blk_h : 4; member
|
D | ac_surface.c | 882 surf->blk_h == 1) { in get_display_flag() 884 if (surf->blk_w == 2 && surf->blk_h == 1) in get_display_flag() 1044 compressed = surf->blk_w == 4 && surf->blk_h == 4; in gfx6_compute_surface() 2144 compressed = surf->blk_w == 4 && surf->blk_h == 4; in gfx9_compute_surface() 3038 surf->blk_w, surf->blk_h, surf->bpe, surf->flags); in ac_surface_print_info() 3079 surf->blk_h, surf->bpe, surf->flags); in ac_surface_print_info()
|
D | ac_surface_modifier_test.c | 250 .blk_h = 1, in test_modifier()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 507 unsigned blk_w, blk_h; in st_MapTextureImage() local 508 _mesa_get_format_block_size(texImage->TexFormat, &blk_w, &blk_h); in st_MapTextureImage() 510 unsigned y_blocks = DIV_ROUND_UP(texImage->Height2, blk_h); in st_MapTextureImage() 518 (z * y_blocks + (y / blk_h)) * stride + in st_MapTextureImage()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 192 (box->y / rtex->surface.blk_h * in r600_texture_get_offset() 829 rtex->surface.blk_h, in r600_print_texture_info()
|
D | r600_state.c | 2996 copy_height = src_box->height / rsrc->surface.blk_h; in r600_dma_copy()
|
D | evergreen_state.c | 3930 copy_height = src_box->height / rsrc->surface.blk_h; in evergreen_dma_copy()
|