mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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:
parent
1f2aa429d8
commit
f87cd970e3
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue