From 0e19b05375cf0a00240f0b08722bbfd14ccf9682 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 12 Oct 2024 00:35:04 +0200 Subject: [PATCH] vulkan: fix layout qualifiers for 32-bit RGBA float storage reps r8 r16/r16f r32f Sure, GLSL. Makes sense. --- libavutil/vulkan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index b80867676c..661b2627c9 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -1335,8 +1335,8 @@ const char *ff_vk_shader_rep_fmt(enum AVPixelFormat pix_fmt, case AV_PIX_FMT_RGBF32: case AV_PIX_FMT_RGBAF32: { const char *rep_tab[] = { - [FF_VK_REP_NATIVE] = "rgba32", - [FF_VK_REP_FLOAT] = "rgba32", + [FF_VK_REP_NATIVE] = "rgba32f", + [FF_VK_REP_FLOAT] = "rgba32f", [FF_VK_REP_INT] = "rgba32i", [FF_VK_REP_UINT] = "rgba32ui", };