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

/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/pipebuffer/
H A Dpb_bufmgr_cache.c235 assert(pb_check_alignment(desc->alignment, 1u << buf->buffer->alignment_log2));
239 buf->base.alignment_log2 = buf->buffer->alignment_log2;
H A Dpb_buffer.h121 * alignment_log2 = util_logbase2(alignment);
122 * alignment = 1 << alignment_log2;
124 uint8_t alignment_log2; member in struct:pb_buffer
H A Dpb_bufmgr_debug.c402 assert(pb_check_alignment(real_desc.alignment, 1u << buf->buffer->alignment_log2));
407 buf->base.alignment_log2 = util_logbase2(desc->alignment);
H A Dpb_bufmgr_slab.c342 buf->base.alignment_log2 = 0;
419 buf->base.alignment_log2 = util_logbase2(desc->alignment);
H A Dpb_bufmgr_mm.c196 mm_buf->base.alignment_log2 = util_logbase2(desc->alignment);
H A Dpb_cache.c136 if (!pb_check_alignment(alignment, 1u << buf->alignment_log2))
H A Dpb_buffer_fenced.c911 fenced_buf->base.alignment_log2 = util_logbase2(desc->alignment);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dradeon_video.c192 size = align(size, 1 << (*buffers[i])->alignment_log2);
194 alignment = MAX2(alignment, 1 << (*buffers[i])->alignment_log2);
H A Dr600_state.c990 (1 << rctx->dummy_cmask->buf->alignment_log2) % cmask.alignment != 0) {
1015 (1 << rctx->dummy_fmask->buf->alignment_log2) % fmask.alignment != 0) {
H A Dr600_texture.c980 resource->bo_alignment = 1 << buf->alignment_log2;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_bufmgr.cpp289 buf->base.alignment_log2 = util_logbase2(pb_desc->alignment);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_bo.c280 bo->base.alignment_log2 = util_logbase2(alignment);
504 bo->base.alignment_log2 = util_logbase2(ZINK_SPARSE_BUFFER_PAGE_SIZE);
585 assert(alignment <= 1 << bo->base.alignment_log2);
892 bo->base.alignment_log2 = util_logbase2(get_slab_entry_alignment(screen, entry_size));
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/svga/drm/
H A Dvmw_buffer.c225 buf->base.alignment_log2 = util_logbase2(pb_desc->alignment);
H A Dpb_buffer_simple_fenced.c734 fenced_buf->base.alignment_log2 = util_logbase2(desc->alignment);
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_bo.c588 bo->base.alignment_log2 = util_logbase2(alignment);
652 assert(bo->base.size < (1 << bo->base.alignment_log2) ||
780 bo->base.alignment_log2 = util_logbase2(get_slab_entry_alignment(ws, entry_size));
1141 bo->base.alignment_log2 = util_logbase2(RADEON_SPARSE_PAGE_SIZE);
1427 assert(alignment <= 1 << bo->base.alignment_log2);
1583 bo->base.alignment_log2 = util_logbase2(info.phys_alignment);
1727 bo->base.alignment_log2 = 0;
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_surface.h355 uint8_t alignment_log2; member in struct:radeon_surf
H A Dac_surface.c2400 surf->alignment_log2 = surf->surf_alignment_log2;
2409 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->fmask_alignment_log2);
2416 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->cmask_alignment_log2);
2438 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->meta_alignment_log2);
2454 surf->alignment_log2 = surf->surf_alignment_log2;
2828 if (offset & ((1 << surf->alignment_log2) - 1) ||
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_bo.c672 bo->base.alignment_log2 = util_logbase2(alignment);
807 bo->base.alignment_log2 = util_logbase2(entry_size);
1133 bo->base.alignment_log2 = 0;
1262 bo->base.alignment_log2 = 0;
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_image.c1320 surf->alignment_log2 = MAX2(surf->alignment_log2, surf->cmask_alignment_log2);
1573 offset = align64(image->size, 1 << image->planes[plane].surface.alignment_log2);
1597 image->alignment = MAX2(image->alignment, 1 << image->planes[plane].surface.alignment_log2);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_texture.c1013 resource->bo_alignment_log2 = imported_buf->alignment_log2;
1556 buf->alignment_log2 < tex->surface.alignment_log2) {
H A Dsi_buffer.c669 res->bo_alignment_log2 = imported_buf->alignment_log2;
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.1.0.rst3587 - gallium/pb: change pb_buffer::alignment to alignment_log2
H A D21.2.0.rst3478 - radeonsi: change si_resource::alignment to alignment_log2 for better packing

Completed in 51 milliseconds