| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_resource.c | 31 unsigned pitchalign; member in struct:__anona7218e260108 52 uint32_t pitchalign = screen->gmem_alignw; local in function:setup_slices 72 pitchalign = tile_alignment[rsc->cpp].pitchalign; 75 pitchalign = 64; 90 util_align_npot(width, pitchalign * util_format_get_blockwidth(format)); 92 slice->pitch = align(width, pitchalign);
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/fdl/ |
| H A D | freedreno_layout.h | 132 uint8_t pitchalign; /* log2(pitchalign) */ member in struct:fdl_layout 145 return align(u_minify(layout->pitch0, level), 1 << layout->pitchalign); 246 fdl_set_pitchalign(struct fdl_layout *layout, unsigned pitchalign) argument 249 layout->pitchalign = pitchalign; 250 layout->pitch0 = align(nblocksx * layout->cpp, 1 << pitchalign);
|
| H A D | fd6_layout.c | 72 layout->pitchalign = fdl_cpp_shift(layout); 76 layout->pitchalign = 1; 79 layout->pitchalign = 2; 132 /* note: for tiled+noubwc layouts, we can use a lower pitchalign 140 layout->pitchalign = 0; 147 layout->pitchalign = fdl_cpp_shift(layout) - 2; 153 layout->pitchalign = fdl_cpp_shift(layout); 159 fdl_set_pitchalign(layout, layout->pitchalign + 6); 164 if (align(layout->pitch0, 1 << layout->pitchalign) != layout->pitch0)
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/ |
| H A D | fd6_resource.c | 35 unsigned pitchalign; member in struct:__anonc62b0da80108 64 uint32_t pitchalign = screen->gmem_alignw; local in function:setup_slices 84 debug_assert(tile_alignment[ta].pitchalign); 103 pitchalign = tile_alignment[ta].pitchalign; 107 pitchalign = 64; 122 util_align_npot(width, pitchalign * util_format_get_blockwidth(format)); 124 slice->pitch = align(width, pitchalign);
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| H A D | tu_image.c | 45 unsigned pitchalign; member in struct:__anone14da16e0108 72 uint32_t pitchalign; local in function:setup_slices 75 pitchalign = tile_alignment[cpp].pitchalign; 78 pitchalign = 64; 94 pitchalign * vk_format_get_blockwidth(pCreateInfo->format)); 96 slice->pitch = align(width, pitchalign);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_resource.c | 709 uint32_t pitchalign = screen->gmem_alignw; local in function:setup_slices 725 util_align_npot(width, pitchalign * util_format_get_blockwidth(format)); 727 slice->pitch = width = align(width, pitchalign); 1043 uint32_t pitchalign = fd_screen(pscreen)->gmem_alignw; local in function:fd_resource_from_handle 1074 if ((slice->pitch < align(prsc->width0, pitchalign)) || 1075 (slice->pitch & (pitchalign - 1)))
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_texture.c | 189 so->texconst1 = A3XX_TEX_CONST_1_PITCHALIGN(rsc->layout.pitchalign - 4) |
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_texture.c | 202 so->texconst2 = A4XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 5) |
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_texture.c | 199 so->texconst2 = A5XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) |
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_resource.c | 1389 /* use a pitchalign of gmem_align_w pixels, because GMEM resolve for 1393 * validate the pitch and set the right pitchalign 1395 rsc->layout.pitchalign = 1398 /* apply the minimum pitchalign (note: actually 4 for a3xx but doesn't 1401 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 6); 1403 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 5);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/ |
| H A D | fd6_texture.c | 247 so->texconst2 = A6XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) |
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| H A D | tu_image.c | 285 A6XX_TEX_CONST_2_PITCHALIGN(layout->pitchalign - 6) |
|
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 20.2.0.rst | 2820 - freedreno: fix layout pitchalign field not being set for imported buffers
|