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"); }