From 1046f5ed48a2c504180ebd98648b52de50e92570 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Thu, 6 Nov 2025 17:17:59 -0500 Subject: [PATCH] panvk: Make noperspective_varyings const Reviewed-by: Boris Brezillon Reviewed-by: Christoph Pillmayer Acked-by: Erik Faye-Lund Part-of: --- src/panfrost/vulkan/panvk_vX_shader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panfrost/vulkan/panvk_vX_shader.c b/src/panfrost/vulkan/panvk_vX_shader.c index ae72b5d2634..bdfb2196361 100644 --- a/src/panfrost/vulkan/panvk_vX_shader.c +++ b/src/panfrost/vulkan/panvk_vX_shader.c @@ -772,7 +772,7 @@ panvk_lower_nir(struct panvk_device *dev, nir_shader *nir, uint32_t set_layout_count, struct vk_descriptor_set_layout *const *set_layouts, const struct vk_pipeline_robustness_state *rs, - uint32_t *noperspective_varyings, + const uint32_t *noperspective_varyings, const struct vk_graphics_pipeline_state *state, const struct pan_compile_inputs *compile_input, struct panvk_shader_variant *shader) @@ -1297,7 +1297,7 @@ static VkResult panvk_compile_shader(struct panvk_device *dev, struct vk_shader_compile_info *info, const struct vk_graphics_pipeline_state *state, - uint32_t *noperspective_varyings, + const uint32_t *noperspective_varyings, const VkAllocationCallbacks *pAllocator, struct vk_shader **shader_out) {