PR #21797 opened by nyanmisaka
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21797
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21797.patch

fixup 80229c1

```
[scale_vulkan @ 0000028b1c2c1300] scale:31: error: 'texture' : no matching 
overloaded function found
scale:31: error: 'return' : cannot convert return value to function return type
```

Signed-off-by: nyanmisaka <[email protected]>


>From c9e959b9a0a5bad57366414e1c493cae942600fe Mon Sep 17 00:00:00 2001
From: nyanmisaka <[email protected]>
Date: Mon, 16 Feb 2026 22:09:25 +0800
Subject: [PATCH] scale_vulkan: fix descriptor type for non debayer path

fixup 80229c1

[scale_vulkan @ 0000028b1c2c1300] scale:31: error: 'texture' : no matching 
overloaded function found
scale:31: error: 'return' : cannot convert return value to function return type

Signed-off-by: nyanmisaka <[email protected]>
---
 libavfilter/vf_scale_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c
index 4db4be190f..a1e4f59a72 100644
--- a/libavfilter/vf_scale_vulkan.c
+++ b/libavfilter/vf_scale_vulkan.c
@@ -239,7 +239,7 @@ static av_cold int init_filter(AVFilterContext *ctx, 
AVFrame *in)
     desc = (FFVulkanDescriptorSetBinding []) {
         {
             .name       = "input_img",
-            .type       = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,
+            .type       = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
             .mem_layout = NULL,
             .mem_quali  = "readonly",
             .dimensions = 2,
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to