Commit 465de47b authored by Lionel Landwerlin's avatar Lionel Landwerlin

anv: associate vulkan formats with aspects

This will make it easier to associate an aspect with a plane number.
Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <>
Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <>
parent fe3b7fe9
This diff is collapsed.
......@@ -2549,6 +2549,9 @@ struct anv_format_plane {
/* How to map sampled ycbcr planes to a single 4 component element. */
struct isl_swizzle ycbcr_swizzle;
/* What aspect is associated to this plane */
VkImageAspectFlags aspect;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment