Home
last modified time | relevance | path

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

/third_party/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()
140 layout->pitchalign = 0; in fdl6_layout()
147 layout->pitchalign = fdl_cpp_shift(layout) - 2; in fdl6_layout()
153 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_layout()
159 fdl_set_pitchalign(layout, layout->pitchalign + 6); in fdl6_layout()
164 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()
246 fdl_set_pitchalign(struct fdl_layout *layout, unsigned pitchalign) in fdl_set_pitchalign() argument
249 layout->pitchalign = pitchalign; in fdl_set_pitchalign()
250 layout->pitch0 = align(nblocksx * layout->cpp, 1 << pitchalign); in fdl_set_pitchalign()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c189 so->texconst1 = A3XX_TEX_CONST_1_PITCHALIGN(rsc->layout.pitchalign - 4) | in fd3_sampler_view_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c1395 rsc->layout.pitchalign = in fd_resource_from_handle()
1401 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 6); in fd_resource_from_handle()
1403 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 5); in fd_resource_from_handle()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c202 so->texconst2 = A4XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 5) | in fd4_sampler_view_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c199 so->texconst2 = A5XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd5_sampler_view_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c247 so->texconst2 = A6XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd6_sampler_view_update()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_image.c285 A6XX_TEX_CONST_2_PITCHALIGN(layout->pitchalign - 6) | in tu_image_view_init()
/third_party/mesa3d/docs/relnotes/
D20.2.0.rst2820 - freedreno: fix layout pitchalign field not being set for imported buffers