Searched refs:pitchalign (Results 1 - 8 of 8) sorted by relevance
/third_party/mesa3d/src/freedreno/fdl/ |
H A D | fd6_layout.c | 76 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_tile_alignment() 80 layout->pitchalign = 1; in fdl6_tile_alignment() 83 layout->pitchalign = 2; in fdl6_tile_alignment() 139 /* note: for tiled+noubwc layouts, we can use a lower pitchalign in fdl6_layout() 147 layout->pitchalign = 0; in fdl6_layout() 154 layout->pitchalign = fdl_cpp_shift(layout) - 2; in fdl6_layout() 160 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_layout() 166 fdl_set_pitchalign(layout, layout->pitchalign + 6); in fdl6_layout() 171 if (align(layout->pitch0, 1 << layout->pitchalign) != layout->pitch0) in fdl6_layout()
|
H A D | freedreno_layout.h | 133 uint8_t pitchalign; /* log2(pitchalign) */ member 146 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()
|
H A D | fd6_view.c | 254 A6XX_TEX_CONST_2_PITCHALIGN(layout->pitchalign - 6) | in fdl6_view_init()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_image.c | 56 uint32_t pitchalign; member 92 img->pitchalign = 0; in translate_image() 112 img->pitchalign = rsc->layout.pitchalign - 5; in translate_image() 172 OUT_RING(ring, A4XX_TEX_CONST_2_PITCHALIGN(img->pitchalign) | in emit_image_tex()
|
H A D | fd4_texture.c | 190 so->texconst2 = A4XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 5) | in fd4_sampler_view_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_texture.c | 191 so->texconst2 = A5XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd5_sampler_view_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_texture.c | 189 so->texconst1 = A3XX_TEX_CONST_1_PITCHALIGN(rsc->layout.pitchalign - 4) | in fd3_sampler_view_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_resource.c | 1412 /* use a pitchalign of gmem_align_w pixels, because GMEM resolve for in fd_resource_from_handle() 1416 * validate the pitch and set the right pitchalign in fd_resource_from_handle() 1418 rsc->layout.pitchalign = in fd_resource_from_handle() 1421 /* apply the minimum pitchalign (note: actually 4 for a3xx but doesn't in fd_resource_from_handle() 1424 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 6); in fd_resource_from_handle() 1426 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 5); in fd_resource_from_handle()
|
Completed in 7 milliseconds