Home
last modified time | relevance | path

Searched refs:pitchalign (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_resource.c31 unsigned pitchalign; member
52 uint32_t pitchalign = screen->gmem_alignw; in setup_slices() local
72 pitchalign = tile_alignment[rsc->cpp].pitchalign; in setup_slices()
75 pitchalign = 64; in setup_slices()
90 util_align_npot(width, pitchalign * util_format_get_blockwidth(format)); in setup_slices()
92 slice->pitch = align(width, pitchalign); in setup_slices()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c670 uint32_t pitchalign = screen->gmem_alignw; in setup_slices() local
686 util_align_npot(width, pitchalign * util_format_get_blockwidth(format)); in setup_slices()
688 slice->pitch = width = align(width, pitchalign); in setup_slices()
898 uint32_t pitchalign = fd_screen(pscreen)->gmem_alignw; in fd_resource_from_handle() local
928 if ((slice->pitch < align(prsc->width0, pitchalign)) || in fd_resource_from_handle()
929 (slice->pitch & (pitchalign - 1))) in fd_resource_from_handle()