Home
last modified time | relevance | path

Searched refs:alignment_log2 (Results 1 - 22 of 22) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_bufmgr_cache.c235 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 Dpb_buffer.h121 * alignment_log2 = util_logbase2(alignment);
122 * alignment = 1 << alignment_log2;
124 uint8_t alignment_log2; member
H A Dpb_bufmgr_slab.c342 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 Dpb_bufmgr_debug.c402 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 Dpb_bufmgr_mm.c196 mm_buf->base.alignment_log2 = util_logbase2(desc->alignment); in mm_bufmgr_create_buffer()
H A Dpb_cache.c136 if (!pb_check_alignment(alignment, 1u << buf->alignment_log2)) in pb_cache_is_buffer_compat()
H A Dpb_buffer_fenced.c911 fenced_buf->base.alignment_log2 = util_logbase2(desc->alignment); in fenced_bufmgr_create_buffer()
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-fuchsia.cc72 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 Dradeon_video.c192 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 Dr600_state.c990 (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 Dr600_texture.c976 resource->bo_alignment = 1 << buf->alignment_log2; in r600_texture_create_object()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_bo.c595 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 Dac_surface.c2507 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 Dac_surface.h356 uint8_t alignment_log2; member
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_buffer.c225 buf->base.alignment_log2 = util_logbase2(pb_desc->alignment); in vmw_gmr_bufmgr_create_buffer()
H A Dpb_buffer_simple_fenced.c734 fenced_buf->base.alignment_log2 = util_logbase2(desc->alignment); in fenced_bufmgr_create_buffer()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_bufmgr.cpp329 buf->base.alignment_log2 = util_logbase2(pb_desc->alignment); in d3d12_bufmgr_create_buffer()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_bo.c305 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 Dradeon_drm_bo.c668 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 Dradv_image.c1429 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 Dsi_texture.c1047 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 Dsi_buffer.c697 1 << imported_buf->alignment_log2); in si_buffer_from_winsys_buffer()

Completed in 46 milliseconds