gstvulkan: Constify code in create_shader
Given that code
is not modified at any moment and VkShaderModuleCreateInfo
admits a read-only pointer in pCode
, we can certaintly mark the former as const
too.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Given that code
is not modified at any moment and VkShaderModuleCreateInfo
admits a read-only pointer in pCode
, we can certaintly mark the former as const
too.