From dd32bb8855ebf3d28e46fc06e9ec1ea1b723cf6d Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 5 Nov 2025 15:29:57 +0100 Subject: [PATCH] vulkan: allow arrays of buffers Could be useful. --- libavutil/vulkan.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index ef755ad6f7..0f168e017b 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -2548,10 +2548,11 @@ print: GLSLA("%s", desc[i].buf_content); } GLSLA("\n}"); - } else if (desc[i].elems > 0) { - GLSLA("[%i]", desc[i].elems); } + if (desc[i].elems > 0) + GLSLA("[%i]", desc[i].elems); + GLSLA(";"); GLSLA("\n"); }