mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 23:00:11 +01:00
iris: add a comment about aux-tt alignment requirements
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198>
This commit is contained in:
parent
195fbffac8
commit
7ffd0f409e
1 changed files with 3 additions and 0 deletions
|
|
@ -1253,6 +1253,9 @@ iris_resource_create_for_image(struct pipe_screen *pscreen,
|
|||
iris_get_aux_clear_color_state_size(screen, res);
|
||||
}
|
||||
|
||||
/* The ISL alignment already includes AUX-TT requirements, so no additional
|
||||
* attention required here :)
|
||||
*/
|
||||
uint32_t alignment = MAX2(4096, res->surf.alignment_B);
|
||||
res->bo =
|
||||
iris_bo_alloc(screen->bufmgr, name, bo_size, alignment, memzone, flags);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue