/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_bufmgr_cache.c | 235 assert(pb_check_alignment(desc->alignment, 1u << buf->buffer->alignment_log2)); in pb_cache_manager_create_buffer() 239 buf->base.alignment_log2 = buf->buffer->alignment_log2; in pb_cache_manager_create_buffer()
|
H A D | pb_buffer.h | 121 * alignment_log2 = util_logbase2(alignment); 122 * alignment = 1 << alignment_log2; 124 uint8_t alignment_log2; member
|
H A D | pb_bufmgr_slab.c | 342 buf->base.alignment_log2 = 0; in pb_slab_create() 419 buf->base.alignment_log2 = util_logbase2(desc->alignment); in pb_slab_manager_create_buffer()
|
H A D | pb_bufmgr_debug.c | 402 assert(pb_check_alignment(real_desc.alignment, 1u << buf->buffer->alignment_log2)); in pb_debug_manager_create_buffer() 407 buf->base.alignment_log2 = util_logbase2(desc->alignment); in pb_debug_manager_create_buffer()
|
H A D | pb_bufmgr_mm.c | 196 mm_buf->base.alignment_log2 = util_logbase2(desc->alignment); in mm_bufmgr_create_buffer()
|
H A D | pb_cache.c | 136 if (!pb_check_alignment(alignment, 1u << buf->alignment_log2)) in pb_cache_is_buffer_compat()
|
H A D | pb_buffer_fenced.c | 911 fenced_buf->base.alignment_log2 = util_logbase2(desc->alignment); in fenced_bufmgr_create_buffer()
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-fuchsia.cc | 72 zx_vm_option_t alignment_log2 = 0; in GetAlignmentOptionFromAlignment() local 75 alignment_log2 = shift; in GetAlignmentOptionFromAlignment() 79 return alignment_log2 << ZX_VM_ALIGN_BASE; in GetAlignmentOptionFromAlignment()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | radeon_video.c | 192 size = align(size, 1 << (*buffers[i])->alignment_log2); in rvid_join_surfaces() 194 alignment = MAX2(alignment, 1 << (*buffers[i])->alignment_log2); in rvid_join_surfaces()
|
H A D | r600_state.c | 990 (1 << rctx->dummy_cmask->buf->alignment_log2) % cmask.alignment != 0) { in r600_init_color_surface() 1015 (1 << rctx->dummy_fmask->buf->alignment_log2) % fmask.alignment != 0) { in r600_init_color_surface()
|
H A D | r600_texture.c | 976 resource->bo_alignment = 1 << buf->alignment_log2; in r600_texture_create_object()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.c | 595 bo->base.alignment_log2 = util_logbase2(alignment); in amdgpu_create_bo() 656 assert(bo->base.size < (1 << bo->base.alignment_log2) || in get_slab_wasted_size() 776 bo->base.alignment_log2 = util_logbase2(get_slab_entry_alignment(ws, entry_size)); in amdgpu_bo_slab_alloc() 1123 bo->base.alignment_log2 = util_logbase2(RADEON_SPARSE_PAGE_SIZE); in amdgpu_bo_sparse_create() 1398 assert(alignment <= 1 << bo->base.alignment_log2); in amdgpu_bo_create() 1553 bo->base.alignment_log2 = util_logbase2(info.phys_alignment); in amdgpu_bo_from_handle() 1698 bo->base.alignment_log2 = 0; in amdgpu_bo_from_ptr()
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_surface.c | 2507 surf->alignment_log2 = surf->surf_alignment_log2; in ac_compute_surface() 2516 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->fmask_alignment_log2); in ac_compute_surface() 2523 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->cmask_alignment_log2); in ac_compute_surface() 2545 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->meta_alignment_log2); in ac_compute_surface() 2561 surf->alignment_log2 = surf->surf_alignment_log2; in ac_surface_zero_dcc_fields() 2938 if (offset & ((1 << surf->alignment_log2) - 1) || in ac_surface_override_offset_stride()
|
H A D | ac_surface.h | 356 uint8_t alignment_log2; member
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_buffer.c | 225 buf->base.alignment_log2 = util_logbase2(pb_desc->alignment); in vmw_gmr_bufmgr_create_buffer()
|
H A D | pb_buffer_simple_fenced.c | 734 fenced_buf->base.alignment_log2 = util_logbase2(desc->alignment); in fenced_bufmgr_create_buffer()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_bufmgr.cpp | 329 buf->base.alignment_log2 = util_logbase2(pb_desc->alignment); in d3d12_bufmgr_create_buffer()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_bo.c | 305 bo->base.alignment_log2 = util_logbase2(alignment); in bo_create_internal() 529 bo->base.alignment_log2 = util_logbase2(ZINK_SPARSE_BUFFER_PAGE_SIZE); in bo_sparse_create() 618 assert(alignment <= 1 << bo->base.alignment_log2); in zink_bo_create() 1227 bo->base.alignment_log2 = util_logbase2(get_slab_entry_alignment(screen, entry_size)); in bo_slab_alloc()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_bo.c | 668 bo->base.alignment_log2 = util_logbase2(alignment); in radeon_create_bo() 803 bo->base.alignment_log2 = util_logbase2(entry_size); in radeon_bo_slab_alloc() 1126 bo->base.alignment_log2 = 0; in radeon_winsys_bo_from_ptr() 1256 bo->base.alignment_log2 = 0; in radeon_winsys_bo_from_handle()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_image.c | 1429 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->cmask_alignment_log2); in radv_image_alloc_single_sample_cmask() 1693 align64(image->size, 1 << image->planes[plane].surface.alignment_log2); in radv_image_create_layout() 1717 image->alignment = MAX2(image->alignment, 1 << image->planes[plane].surface.alignment_log2); in radv_image_create_layout()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_texture.c | 1047 resource->bo_alignment_log2 = imported_buf->alignment_log2; in si_texture_create_object() 1634 buf->alignment_log2 < tex->surface.alignment_log2) { in si_texture_from_winsys_buffer()
|
H A D | si_buffer.c | 697 1 << imported_buf->alignment_log2); in si_buffer_from_winsys_buffer()
|