Skip to content

vulkan: Add some missing parameter out annotations and improve some const-correctness

I'm "back" working on the GStreamer Vulkan Rust bindings and finding more parameters that are lacking a proper output annotations or lacking const while their contents are very unlikely to ever be modified. Still draft as these are only the ones I found while solving compiler errors, but there's likely more (also hidden in types and functions that aren't yet mapped/written). We've had huge discussions before about how some things cannot have their mutability changed, but these (mostly Vk* create infos) seem innocent enough.

_vk_image_mem_new_alloc_with_image_info()'s VkImageCreateInfo * hasn't been changed however, as this function actually modifies the variable while being annotated with an XXX comment.

CC @slomo

Merge request reports