From: IndecisiveTurtle via ffmpeg-devel <ffmpeg-devel@ffmpeg.org> To: ffmpeg-devel@ffmpeg.org Cc: IndecisiveTurtle <geoster3d@gmail.com> Subject: [FFmpeg-devel] [PATCH 1/3] vulkan: Support samplerless images Date: Thu, 4 Sep 2025 23:10:00 +0300 Message-ID: <20250904201002.10446-1-47210458+raphaelthegreat@users.noreply.github.com> (raw) 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
next reply other threads:[~2025-09-04 20:10 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-09-04 20:10 IndecisiveTurtle via ffmpeg-devel [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20250904201002.10446-1-47210458+raphaelthegreat@users.noreply.github.com \ --to=ffmpeg-devel@ffmpeg.org \ --cc=geoster3d@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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