bfe1942e8a
The latest includes/registry have some pNext structs that need guarding spearately to their initial structs, so we have to track the define guards better and use them in the generated code For example: VkVideoEncodeRateControlInfoKHR extends VkVideoCodingControlInfoKHR However the first struct is protected by BETA, but the second isn't the generator was always generating unguarded code for all structs Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20384>