Home
last modified time | relevance | path

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

/external/mesa3d/src/freedreno/fdl/
Dfd6_layout.c72 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_tile_alignment()
76 layout->pitchalign = 1; in fdl6_tile_alignment()
79 layout->pitchalign = 2; in fdl6_tile_alignment()
141 layout->pitchalign = 0; in fdl6_layout()
148 layout->pitchalign = fdl_cpp_shift(layout) - 2; in fdl6_layout()
154 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_layout()
160 fdl_set_pitchalign(layout, layout->pitchalign + 6); in fdl6_layout()
165 if (align(layout->pitch0, 1 << layout->pitchalign) != layout->pitch0) in fdl6_layout()
Dfreedreno_layout.h132 uint8_t pitchalign; /* log2(pitchalign) */ member
145 return align(u_minify(layout->pitch0, level), 1 << layout->pitchalign); in fdl_pitch()
247 fdl_set_pitchalign(struct fdl_layout *layout, unsigned pitchalign) in fdl_set_pitchalign() argument
250 layout->pitchalign = pitchalign; in fdl_set_pitchalign()
251 layout->pitch0 = align(nblocksx * layout->cpp, 1 << pitchalign); in fdl_set_pitchalign()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c1123 rsc->layout.pitchalign = in fd_resource_from_handle()
1128 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 6); in fd_resource_from_handle()
1130 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 5); in fd_resource_from_handle()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c260 A3XX_TEX_CONST_1_PITCHALIGN(rsc->layout.pitchalign - 4) | in fd3_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c274 A5XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd5_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c276 A4XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 5) | in fd4_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c268 A6XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd6_sampler_view_create()
/external/mesa3d/src/freedreno/vulkan/
Dtu_image.c277 A6XX_TEX_CONST_2_PITCHALIGN(layout->pitchalign - 6) | in tu_image_view_init()
/external/mesa3d/docs/relnotes/
D20.2.0.rst2820 - freedreno: fix layout pitchalign field not being set for imported buffers