Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH 1/3] vulkan: Support samplerless images
@ 2025-09-04 20:10 IndecisiveTurtle via ffmpeg-devel
  2025-09-04 20:10 ` [FFmpeg-devel] [PATCH 2/3] lavc: Split out common components used by vulkan prores encoder IndecisiveTurtle via ffmpeg-devel
  2025-09-04 20:10 ` [FFmpeg-devel] [PATCH 3/3] lavc: implement a Vulkan-based " IndecisiveTurtle via ffmpeg-devel
  0 siblings, 2 replies; 3+ messages in thread
From: IndecisiveTurtle via ffmpeg-devel @ 2025-09-04 20:10 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: IndecisiveTurtle

From: IndecisiveTurtle <geoster3d@gmail.com>

---
 libavutil/vulkan.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index ef755ad6f7..74eab88434 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -2507,7 +2507,8 @@ print:
         GLSLA("layout (set = %i, binding = %i", FFMAX(shd->nb_descriptor_sets - 1, 0), i);
 
         if (desc[i].mem_layout &&
-            (desc[i].type != VK_DESCRIPTOR_TYPE_STORAGE_IMAGE))
+            (desc[i].type != VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) &&
+            (desc[i].type != VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE))
             GLSLA(", %s", desc[i].mem_layout);
 
         GLSLA(")");
@@ -2520,7 +2521,7 @@ print:
 
         if (prop->type) {
             GLSLA(" ");
-            if (desc[i].type == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) {
+            if (desc[i].type == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE || desc[i].type == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) {
                 if (desc[i].mem_layout) {
                     int len = strlen(desc[i].mem_layout);
                     if (desc[i].mem_layout[len - 1] == 'i' &&
-- 
2.50.1

_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-04 20:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-04 20:10 [FFmpeg-devel] [PATCH 1/3] vulkan: Support samplerless images IndecisiveTurtle via ffmpeg-devel
2025-09-04 20:10 ` [FFmpeg-devel] [PATCH 2/3] lavc: Split out common components used by vulkan prores encoder IndecisiveTurtle via ffmpeg-devel
2025-09-04 20:10 ` [FFmpeg-devel] [PATCH 3/3] lavc: implement a Vulkan-based " IndecisiveTurtle via ffmpeg-devel

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git