pan/layout: Document the strict property

pan_image_layout_constraints::strict only applies to imports of AFBC/AFRC
resources. Linear/tiled imports are already strict, and any new modifier
addition should be strict too.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Tested-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35555>
This commit is contained in:
Boris Brezillon 2025-06-16 15:36:23 +02:00
parent 1f2aa429d8
commit f87cd970e3

View file

@ -114,6 +114,9 @@ struct pan_image_layout_constraints {
/* Row pitch in bytes. Non-zero if layout is explicit. */
unsigned wsi_row_pitch_B;
/* When true, AFBC/AFRC imports are stricter than they were when those
* modifiers where introduced. */
bool strict;
};